Explorar el Código

Fixing errors.

BaumSplitter41 hace 3 meses
padre
commit
36293f0358
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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