BaumSplitter41 3 сар өмнө
parent
commit
36293f0358

+ 1 - 0
VPD_BOT/cogs/delete_msg.py

@@ -16,6 +16,7 @@ class delete(commands.Cog):
             ctx,
             amount: int = Option(int, "Select Number of the message to delete"),
         ):
+        amount = int(amount)
         if amount < 1:
             await ctx.respond("Please provide a valid number greater than 0.", ephemeral=True)
             return