specify name of discord command
This commit is contained in:
parent
d316cb0bc8
commit
bebc8bca72
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class Utils(commands.Cog):
|
|||
self.client = client
|
||||
self.keys = load(["DISCORD"])
|
||||
|
||||
@commands.command()
|
||||
async def discord(self, ctx: commands.Context):
|
||||
@commands.command(name="discord")
|
||||
async def _discord(self, ctx: commands.Context):
|
||||
"""Envoie le lien de ton serveur Discord"""
|
||||
await ctx.send(f"@{ctx.author.name}, Rejoins mon Discord {self.keys['DISCORD']} !")
|
||||
|
|
Loading…
Reference in a new issue