diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | cogs/moderator.py | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -7,7 +7,6 @@ Just a fork of mcbeDiscordBot but rewritten a bit. Some code are translated mee6 ### Dependencies - [discord.py](https://github.com/Rapptz/discord.py) - asyncio -- colorama To install the dependencies, you can use this command: ``` diff --git a/cogs/moderator.py b/cogs/moderator.py index b0808a1..4f5371d 100644 --- a/cogs/moderator.py +++ b/cogs/moderator.py @@ -7,7 +7,7 @@ class Admin(commands.Cog): self.bot = bot @commands.command(aliases=['quit'], hidden=True) - @commands.has_any_role("Server Moderator","Zi") + @commands.has_any_role("Zi") async def force_close(self, ctx): await ctx.send("Self Destructing!") await ctx.bot.close() |