diff options
Diffstat (limited to 'bot/utils')
-rw-r--r-- | bot/utils/extensions.py | 2 | ||||
-rw-r--r-- | bot/utils/halloween/spookifications.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bot/utils/extensions.py b/bot/utils/extensions.py index cbb8f15e..09192ae2 100644 --- a/bot/utils/extensions.py +++ b/bot/utils/extensions.py @@ -36,7 +36,7 @@ def walk_extensions() -> Iterator[str]: async def invoke_help_command(ctx: Context) -> None: """Invoke the help command or default help command if help extensions is not loaded.""" - if "bot.exts.evergreen.help" in ctx.bot.extensions: + if "bot.exts.core.help" in ctx.bot.extensions: help_command = ctx.bot.get_command("help") await ctx.invoke(help_command, ctx.command.qualified_name) return diff --git a/bot/utils/halloween/spookifications.py b/bot/utils/halloween/spookifications.py index f69dd6fd..93c5ddb9 100644 --- a/bot/utils/halloween/spookifications.py +++ b/bot/utils/halloween/spookifications.py @@ -22,7 +22,7 @@ def pentagram(im: Image) -> Image: """Adds pentagram to the image.""" im = im.convert("RGB") wt, ht = im.size - penta = Image.open("bot/resources/halloween/bloody-pentagram.png") + penta = Image.open("bot/resources/holidays/halloween/bloody-pentagram.png") penta = penta.resize((wt, ht)) im.paste(penta, (0, 0), penta) return im @@ -37,7 +37,7 @@ def bat(im: Image) -> Image: """ im = im.convert("RGB") wt, ht = im.size - bat = Image.open("bot/resources/halloween/bat-clipart.png") + bat = Image.open("bot/resources/holidays/halloween/bat-clipart.png") bat_size = randint(wt//10, wt//7) rot = randint(0, 90) bat = bat.resize((bat_size, bat_size)) |