Update and rename Miscellaneous.py to miscellaneous.py

This commit is contained in:
Elmon11 2020-10-28 13:24:24 +01:00 committed by GitHub
parent 91356aa012
commit d8313a1a73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,8 @@ class Miscellaneous(commands.Cog):
em.description = 'Bot offline.' em.description = 'Bot offline.'
await ctx.send(embed=em) await ctx.send(embed=em)
await self.bot.logout() await self.bot.logout()
return
@is_dev() @is_dev()
@commands.command(name='debug') @commands.command(name='debug')
async def debug(self, ctx, *, cmd): async def debug(self, ctx, *, cmd):
@ -31,4 +32,4 @@ class Miscellaneous(commands.Cog):
{type(e).__name__}: {e}```''') {type(e).__name__}: {e}```''')
def setup(bot): def setup(bot):
bot.add_cog(Miscellaneous(bot)) bot.add_cog(Miscellaneous(bot))