aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-07-28 12:14:11 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-07-28 12:14:11 +0000
commit15f9cc277e9385b18a3679a446e6964392173c16 (patch)
tree2818a727cfcefd83c2ad90e9acf8f3dd8a4688f2
parent945777abb0136b1d8f9be858365efe55287e6f6c (diff)
downloadsteve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar.gz
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar.bz2
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar.lz
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar.xz
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.tar.zst
steve-bot-15f9cc277e9385b18a3679a446e6964392173c16.zip
Fixed ban command
-rwxr-xr-xcogs/admin.py4
-rwxr-xr-xcustom_commands.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 8164790..e1ed9bf 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -171,11 +171,11 @@ class Admin(commands.Cog):
embed = discord.Embed(title = "You can't ban me, I'm an almighty bot")
await ctx.send(embed = embed)
continue
- await member.send(f"You have been banned from {ctx.guild.name} for {mute_minutes} minutes because: ```{reason}```")
+ await member.send(f"You have been banned from {ctx.guild.name} for {ban_minutes} minutes because: ```{reason}```")
await ctx.guild.ban(member, reason=reason, delete_message_days=0)
await ctx.send("{0.mention} has been banned by {1.mention} for *{2}*".format(member, ctx.author, reason))
- if mute_minutes > 0:
+ if ban_minutes > 0:
await asyncio.sleep(ban_minutes * 60)
for member in members:
await ctx.guild.unban(member, reason="Time is up")
diff --git a/custom_commands.json b/custom_commands.json
index 9606473..b337920 100755
--- a/custom_commands.json
+++ b/custom_commands.json
@@ -30,7 +30,7 @@
"!GlasgowRangers": "You Let Your Club Die!",
"!e\ud83c\udd71\ufe0fic": "HEY GUYS ITS SHIGAME45",
"!testy": "test",
- "!toxicitypass": "```TOXICITY PASS\n\nTHE HOLDER OF THIS PASS HAS PERMISSION FROM THE HEAVENS ABOVE TO DO AND SAY WHATEVER THE HELL THEY WANT\nTHEY ARE ALLOWED TO BE AS TOXIC AS THEY WILL WITHOUT REPERCUSSIONS\n\nPASS OWNER: Duck W aka Weexy aka Indy Kambeitz```",
+ "!toxicitypass": "```TOXICITY PASS\n\nTHE HOLDER OF THIS PASS HAS PERMISSION FROM THE HEAVENS ABOVE TO DO AND SAY WHATEVER THE HELL THEY WANT\nTHEY ARE ALLOWED TO BE AS TOXIC AS THEY WILL WITHOUT REPERCUSSIONS\n\nPASS OWNER: Duck W aka Weexy aka Indy Kambeitz\nPASS OWNER: Shadowfi```",
"!welcome": "Welcome! <:mango:715738087627685908>",
"!learntoread": "When two players are tied on the leaderboards **ONLY ONE FUCKER WILL BE VISIBLE**",
"!mobiledupe": "1) place item to dupe in the crafting grid\n2) keep pressed until the green bar thing appears\nclick any \"Impossible\" craft (red ones)\n3)press the item to dupe (that is in your hotbar now -> it should have moved there since you pressed the impossible craft)\n4)your item should be duped",