aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcogs/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 0099182..415d25f 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -172,13 +172,13 @@ 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 guild.ban(member, reason="A reason idk")
+ await ctx.guild.ban(member, reason=reason)
await ctx.send("{0.mention} has been banned by {1.mention} for *{2}*".format(member, ctx.author, reason))
if mute_minutes > 0:
await asyncio.sleep(mute_minutes * 60)
for member in members:
- await guild.unban(member, reason="Time is up")
+ await ctx.guild.unban(member, reason="Time is up")
@commands.command()
@commands.check(is_botmaster)
n class='insertions'>+4 2021-01-03This code isnt working atmMango0x451-53/+53 2021-01-03Add math command with BCMango0x451-0/+10 2021-01-02Happy Birthday Samuel!aninternettroll1-0/+5 2020-12-14Some tuple and typehint stuffsMango0x451-9/+9 2020-12-14Store user data in named tuplesMango0x451-104/+123 2020-12-14Formatted with blackMango0x452-1/+2 2020-12-14Sort importsMango0x452-2/+4 2020-12-08Fixed misunderstanding of type hintingLuca Matei Pintilie1-1/+1 2020-11-20changed my name to SkyeSkycloudd1-1/+1 2020-11-20Update utils.pyLuca Matei Pintilie1-1/+1 2020-11-09I heard the public domain is a cool place to beMango0x452-661/+24 2020-11-01Discord.py voice dependency addedAnInternetTroll3-114/+179 2020-10-21fixed boosts field in serverinfoSkycloudd1-3/+3 2020-10-21fixed boosts field in serverinfoSkycloudd1-2/+2 2020-10-21fixed serverinfo inactive member count descriptionSkycloudd1-1/+1 ='/steve-bot.git/commit/cogs/utils.py?id=189ff921e5a1e14569fb49c44bf679b1b86f2869&follow=1'>Update utils.pySamot191-1/+1 2021-04-01Fair Leaderboard Samot191-8/+53 2021-03-26+ Fix "shut" emojiAhmad Ansori Palembani1-1/+1 2021-03-23Fix typo, add punctuation, and make wording clearer.Samot191-7/+7 2021-03-21Get only the queue, not everythingrandomidiot131-1/+1 2021-03-21Add !queuerandomidiot131-0/+44 2021-03-20remove embed from run rejection messageSkycloudd1-1/+1 2021-03-16hopefully fixed the ultraxd thingSkycloudd1-1/+1 2021-03-05Tabs to spacesMango0x451-526/+541 2021-03-05Educate new members on input rulesMango0x451-535/+526 2021-02-28Make !pending not max out at 200 runs per gamerandomidiot131-5/+16 2021-02-27Update aiohttp due to security vulnerabilityMango0x452-1/+2 2021-02-24Make !verified asynchronousAnInternetTroll2-38/+36 2021-02-20Add verified commandrandomidiot131-0/+45 2021-02-13Whitelist coop all bosses when rejecting spamMango0x451-1/+1 2021-02-13Remove useless importsMango0x454-6/+1 2021-02-13Add better spam preventionMango0x451-15/+22 2021-02-13Remove useless dependenciesMango0x451-10/+8