massban fixes
This commit is contained in:
parent
cff5a3f80d
commit
c1ffd8b57b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue