Forráskód Böngészése

fixing say command as cog

BaumSplitter41 4 hónapja
szülő
commit
1de293014c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      VPD_BOT/cogs/say.py

+ 1 - 1
VPD_BOT/cogs/say.py

@@ -9,7 +9,7 @@ class Say(commands.Cog):
         self.bot = bot
 
     @slash_command(description="Greet a User")
-    async def greet(ctx, user: str = Option(discord.User, "The user, you want to greet")):
+    async def greet(self, ctx, user: str = Option(discord.User, "The user, you want to greet")):
         await ctx.respond(f"Hello {user.mention}")