Rifat Azad commited on
Commit
8db37a5
·
1 Parent(s): a32c8d9

new update

Browse files
Files changed (1) hide show
  1. pydvpl_bot.py +2 -2
pydvpl_bot.py CHANGED
@@ -283,7 +283,7 @@ async def help(ctx):
283
 
284
 
285
  @bot.hybrid_command(help="Compresses attached files.")
286
- async def compress(ctx):
287
  attachments = ctx.message.attachments
288
 
289
  if not attachments:
@@ -318,7 +318,7 @@ async def compress(ctx):
318
 
319
 
320
  @bot.hybrid_command(help="Decompresses attached files.")
321
- async def decompress(ctx):
322
  attachments = ctx.message.attachments
323
 
324
  if not attachments:
 
283
 
284
 
285
  @bot.hybrid_command(help="Compresses attached files.")
286
+ async def compress(ctx , attachments: discord.Attachment):
287
  attachments = ctx.message.attachments
288
 
289
  if not attachments:
 
318
 
319
 
320
  @bot.hybrid_command(help="Decompresses attached files.")
321
+ async def decompress(ctx, attachments: discord.Attachment):
322
  attachments = ctx.message.attachments
323
 
324
  if not attachments: