hackban: Fix softban alias

This commit is contained in:
Ave Ozkal 2019-01-13 16:33:35 +03:00
parent 0c0cb7fb88
commit 3af2f18d6e
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -171,7 +171,7 @@ class Mod:
@commands.guild_only()
@commands.bot_has_permissions(ban_members=True)
@commands.check(check_if_staff)
@commands.command(alias=["softban"])
@commands.command(aliases=["softban"])
async def hackban(self, ctx, target: int, *, reason: str = ""):
"""Bans a user with their ID, doesn't message them, staff only."""
target_user = await self.bot.get_user_info(target)