Merge pull request #54 from AggPro/patch-2

Aaa
This commit is contained in:
davfsa 2018-06-20 20:28:09 +02:00 committed by GitHub
commit 113737f2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ class Moderation:
await ctx.send('Are you sure you are capable of this command?')
try:
await member.ban()
await ctx.send(f'You kicked **`{member.name}`** from **`{ctx.guild.name}`**')
await ctx.send(f'You banned **`{member.name}`** from **`{ctx.guild.name}`**')
except Exception as e:
await ctx.send('You may not use this command, as you do not have permission to do so:\n\n**`{ctx.guild.name}`**'