You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignoring exception in on_message Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/discord/client.py", line 378, in _run_event await coro(*args, **kwargs) File "/usr/local/lib/python3.11/site-packages/zorak/cogs/admin/admin_automod_spam_messages.py", line 117, in on_message await self.warn_message.delete() ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'delete'
Error happens when anti-spam detects 3 messages in one channel. It attempts to delete the string object "warn_message", instead of a discord message object.
The text was updated successfully, but these errors were encountered:
Ignoring exception in on_message Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/discord/client.py", line 378, in _run_event await coro(*args, **kwargs) File "/usr/local/lib/python3.11/site-packages/zorak/cogs/admin/admin_automod_spam_messages.py", line 117, in on_message await self.warn_message.delete() ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'delete'
Error happens when anti-spam detects 3 messages in one channel. It attempts to delete the string object "warn_message", instead of a discord message object.
The text was updated successfully, but these errors were encountered: