From bebc8bca725f1ff4a916bf7a5adee4642fe3fa80 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 29 Jul 2021 23:36:02 +0200 Subject: [PATCH] specify name of discord command --- src/modules/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/utils.py b/src/modules/utils.py index 183043d..210e3da 100644 --- a/src/modules/utils.py +++ b/src/modules/utils.py @@ -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']} !")