hackban: Fix softban alias
This commit is contained in:
parent
0c0cb7fb88
commit
3af2f18d6e
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class Mod:
|
||||||
@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(alias=["softban"])
|
@commands.command(aliases=["softban"])
|
||||||
async def hackban(self, ctx, target: int, *, reason: str = ""):
|
async def hackban(self, ctx, target: int, *, reason: str = ""):
|
||||||
"""Bans a user with their ID, doesn't message them, staff only."""
|
"""Bans a user with their ID, doesn't message them, staff only."""
|
||||||
target_user = await self.bot.get_user_info(target)
|
target_user = await self.bot.get_user_info(target)
|
||||||
|
|
Loading…
Reference in a new issue