[Mod] [p]names utilize consume-rest (#2675)

Currently, `[p]names` requires quotes, if "user" arg contains spaces
This commit is contained in:
Fixator10 2019-05-15 18:33:10 +04:00 committed by Michael H
parent f2858ea48c
commit 3a62d392b4

View File

@ -164,7 +164,7 @@ class ModInfo(MixinMeta):
await ctx.send(embed=data)
@commands.command()
async def names(self, ctx: commands.Context, user: discord.Member):
async def names(self, ctx: commands.Context, *, user: discord.Member):
"""Show previous names and nicknames of a user."""
names, nicks = await self.get_names_and_nicks(user)
msg = ""