Update mod.py
https://cdn.discordapp.com/emojis/591448135075889204.png?v=1
This commit is contained in:
parent
67728ccbd1
commit
215d3034bc
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class Mod(Cog):
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
@commands.bot_has_permissions(ban_members=True)
|
@commands.bot_has_permissions(ban_members=True)
|
||||||
@commands.check(check_if_staff)
|
@commands.check(check_if_staff)
|
||||||
@commands.command()
|
@commands.command(aliases=["yeet"])
|
||||||
async def ban(self, ctx, target: discord.Member, *, reason: str = ""):
|
async def ban(self, ctx, target: discord.Member, *, reason: str = ""):
|
||||||
"""Bans a user, staff only."""
|
"""Bans a user, staff only."""
|
||||||
# Hedge-proofing the code
|
# Hedge-proofing the code
|
||||||
|
|
Loading…
Reference in a new issue