mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Mod] [p]names utilize consume-rest (#2675)
Currently, `[p]names` requires quotes, if "user" arg contains spaces
This commit is contained in:
parent
f2858ea48c
commit
3a62d392b4
@ -164,7 +164,7 @@ class ModInfo(MixinMeta):
|
|||||||
await ctx.send(embed=data)
|
await ctx.send(embed=data)
|
||||||
|
|
||||||
@commands.command()
|
@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."""
|
"""Show previous names and nicknames of a user."""
|
||||||
names, nicks = await self.get_names_and_nicks(user)
|
names, nicks = await self.get_names_and_nicks(user)
|
||||||
msg = ""
|
msg = ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user