update error message

This commit is contained in:
Mylloon 2021-08-23 12:59:30 +02:00
parent 9ab8e93c05
commit 8895ae275c

View file

@ -379,7 +379,7 @@ class Utils(commands.Cog):
async def _whois_error(self, ctx, error):
"""Error command handler"""
if "not found." in str(error):
await ctx.send(f"Le membre renseigné n'a pas été trouvé (mauvais ID ou aucun serveur en commun avec moi).")
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):
"""Slash command"""