diff --git a/plugins/spam_1749984496021_jym41m.py b/plugins/spam_1749984496021_jym41m.py index f0001d3..ea3664e 100644 --- a/plugins/spam_1749984496021_jym41m.py +++ b/plugins/spam_1749984496021_jym41m.py @@ -54,7 +54,8 @@ async def spammer(e): return await eod(e, "`Use bigspam cmd`") except BaseException: return await eod(e, "`Use in Proper Format`") - await asyncio.wait([e.respond(spam_message) for i in range(counter)]) + tasks = [asyncio.create_task(e.respond(spam_message)) for _ in range(counter)] + await asyncio.wait(tasks) await e.delete()