Kaynağa Gözat

changing hello cog

BaumSplitter41 4 ay önce
ebeveyn
işleme
9e3644d5cf
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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}")