fix for slash command
This commit is contained in:
parent
8895ae275c
commit
75bd63b638
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class Utils(commands.Cog):
|
|||
if "not found." in str(error):
|
||||
await ctx.send(f"Le membre renseigné n'a pas été trouvé (mauvais ID).")
|
||||
@cog_ext.cog_slash(name="whois", description = "Affiche les infos sur l'utilisateur.")
|
||||
async def __whois(self, ctx, user: discord.Member = None):
|
||||
async def __whois(self, ctx, user: discord.User = None):
|
||||
"""Slash command"""
|
||||
ctx.prefix = "/" # pas sûr que ce soit utile
|
||||
if user == None:
|
||||
|
|
Reference in a new issue