aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziro <palembani@gmail.com>2020-08-05 06:45:55 +0000
committerziro <palembani@gmail.com>2020-08-05 06:45:55 +0000
commit846942f92693a893e55bdde408e2357212555031 (patch)
treeb0e35327a46b62b5ee23e5aae761bea337fdb999
parent5da3eb1df8396b9ea2961a5ebe1d64f5d5c8e0b8 (diff)
downloadsteve-bot-846942f92693a893e55bdde408e2357212555031.tar
steve-bot-846942f92693a893e55bdde408e2357212555031.tar.gz
steve-bot-846942f92693a893e55bdde408e2357212555031.tar.bz2
steve-bot-846942f92693a893e55bdde408e2357212555031.tar.lz
steve-bot-846942f92693a893e55bdde408e2357212555031.tar.xz
steve-bot-846942f92693a893e55bdde408e2357212555031.tar.zst
steve-bot-846942f92693a893e55bdde408e2357212555031.zip
+ Removed colorama, not used
Diffstat (limited to '')
-rw-r--r--README.md1
-rw-r--r--cogs/moderator.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3accf3a..3eed704 100644
--- a/README.md
+++ b/README.md
@@ -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()