소스 검색

changing hello cog

BaumSplitter41 4 달 전
부모
커밋
9e3644d5cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}")