changement slash command name memo to note
This commit is contained in:
parent
ea6c6c0504
commit
d0c0d00653
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class Utils(commands.Cog):
|
||||||
async def _memo_error(self, ctx, error):
|
async def _memo_error(self, ctx, error):
|
||||||
if str(error) == "text is a required argument that is missing.":
|
if str(error) == "text is a required argument that is missing.":
|
||||||
await ctx.send(f"Vous devez renseigner un message : `{ctx.prefix}memo/note <message>`.")
|
await ctx.send(f"Vous devez renseigner un message : `{ctx.prefix}memo/note <message>`.")
|
||||||
@cog_ext.cog_slash(name="memo", description = "T'envoie un petit memo par message privé.")
|
@cog_ext.cog_slash(name="note", description = "T'envoie un petit memo par message privé.")
|
||||||
async def __memo(self, ctx, memo):
|
async def __memo(self, ctx, memo):
|
||||||
return await self._memo(ctx, memo, True)
|
return await self._memo(ctx, memo, True)
|
||||||
|
|
||||||
|
|
Reference in a new issue