From cf18b601e2ed677f1fca38b003d261dffa66bf48 Mon Sep 17 00:00:00 2001 From: Toby Harradine Date: Fri, 22 Feb 2019 17:52:30 +1100 Subject: [PATCH] [Mod] Use consume-rest in [p]casesfor --- redbot/cogs/modlog/modlog.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/redbot/cogs/modlog/modlog.py b/redbot/cogs/modlog/modlog.py index 0c7bbd9fb..3bb0fb9f0 100644 --- a/redbot/cogs/modlog/modlog.py +++ b/redbot/cogs/modlog/modlog.py @@ -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(