specify name of discord command

This commit is contained in:
Mylloon 2021-07-29 23:36:02 +02:00
parent d316cb0bc8
commit bebc8bca72

View file

@ -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']} !")