Ver Fonte

Fixing errors.

BaumSplitter41 há 3 meses atrás
pai
commit
36293f0358
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      VPD_BOT/cogs/delete_msg.py

+ 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