Merge pull request #44 from suppai/master

Update mod.py
This commit is contained in:
Ave 2019-06-28 12:23:42 +03:00 committed by GitHub
commit 18b98692f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ class Mod(Cog):
@commands.guild_only()
@commands.bot_has_permissions(ban_members=True)
@commands.check(check_if_staff)
@commands.command()
@commands.command(aliases=["yeet"])
async def ban(self, ctx, target: discord.Member, *, reason: str = ""):
"""Bans a user, staff only."""
# Hedge-proofing the code