mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 15:44:57 +00:00
Update and rename Miscellaneous.py to miscellaneous.py
This commit is contained in:
parent
91356aa012
commit
d8313a1a73
1 changed files with 3 additions and 2 deletions
|
@ -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))
|
Loading…
Reference in a new issue