massban fixes

This commit is contained in:
Ave but on a massive iMac 2021-06-08 19:03:29 +03:00
parent cff5a3f80d
commit c1ffd8b57b

View file

@ -290,7 +290,7 @@ class Mod(Cog):
@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()
async def massban(self, ctx, targets: str): async def massban(self, ctx, *, targets: str):
"""Bans users with their IDs, doesn't message them, staff only.""" """Bans users with their IDs, doesn't message them, staff only."""
targets_int = [int(target) for target in targets.strip().split(" ")] targets_int = [int(target) for target in targets.strip().split(" ")]
for target in targets_int: for target in targets_int: