mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
Fix for lazy people
This commit is contained in:
parent
e1d1ebe8e2
commit
ba81bc78c9
@ -70,7 +70,7 @@ class Downloader:
|
||||
answer = await self.bot.wait_for_message(timeout=15, author=ctx.message.author)
|
||||
if answer is None:
|
||||
await self.bot.say("Ok then, you can reload cogs with `{}reload <cog_name>`".format(ctx.prefix))
|
||||
elif answer.content.lower().strip() == "yes":
|
||||
elif answer.content.lower().strip() in ["yes", "y"]:
|
||||
for cog in installed_user_cogs:
|
||||
self.bot.unload_extension("cogs." + cog)
|
||||
self.bot.load_extension("cogs." + cog)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user