Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
illvart committed May 28, 2024
1 parent 60f2f58 commit 4668a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ds/plugins/delayspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def _ds(c, m):
return await eor(m, f"`{Var.HANDLER}ds{ds} [delay] [count] [text/reply]`", time=4)
delay = 2 if int(delay) < 2 else delay
task.add(chat_id)
message_id = message.id
message_id = 0 if isinstance(message, str) else message.id
for _ in range(count):
if chat_id not in get_task(ds):
break
Expand Down

0 comments on commit 4668a08

Please sign in to comment.