[Mod] Use consume-rest in [p]casesfor

This commit is contained in:
Toby Harradine 2019-02-22 17:52:30 +11:00 committed by GitHub
parent 139cc07bda
commit cf18b601e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,10 +109,8 @@ class ModLog(commands.Cog):
@commands.command()
@commands.guild_only()
async def casesfor(self, ctx: commands.Context, member: Union[discord.Member, int]):
"""
Displays the cases for the specified member
"""
async def casesfor(self, ctx: commands.Context, *, member: Union[discord.Member, int]):
"""Display cases for the specified member."""
try:
if isinstance(member, int):
cases = await modlog.get_cases_for_member(