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.client = client
|
||||||
self.keys = load(["DISCORD"])
|
self.keys = load(["DISCORD"])
|
||||||
|
|
||||||
@commands.command()
|
@commands.command(name="discord")
|
||||||
async def discord(self, ctx: commands.Context):
|
async def _discord(self, ctx: commands.Context):
|
||||||
"""Envoie le lien de ton serveur Discord"""
|
"""Envoie le lien de ton serveur Discord"""
|
||||||
await ctx.send(f"@{ctx.author.name}, Rejoins mon Discord {self.keys['DISCORD']} !")
|
await ctx.send(f"@{ctx.author.name}, Rejoins mon Discord {self.keys['DISCORD']} !")
|
||||||
|
|
Loading…
Reference in a new issue