Procházet zdrojové kódy

changing hello cog

BaumSplitter41 před 4 měsíci
rodič
revize
9e3644d5cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      VPD_BOT/cogs/hello.py

+ 1 - 1
VPD_BOT/cogs/hello.py

@@ -7,7 +7,7 @@ class Base(commands.Cog):
     def __init__(self, bot: discord.Bot):
         self.bot = bot
 
-    @slash_command(description="hello")
+    @slash_command(name="hallo", description="hello")
     async def hello(self, ctx: discord.ApplicationContext):
         await ctx.respond(f"Hey {ctx.author.mention}")