mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Compare commits
2 Commits
36c542b822
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| eddad6454d | |||
| 8ac15a1687 |
@@ -308,6 +308,8 @@ class MessagesProc:
|
||||
|
||||
@classmethod
|
||||
async def on_message(cls, received_as: str, event: MessageEvent):
|
||||
return
|
||||
|
||||
if event.chatter_user_name in cls.FULL_IGNORED_USER_LOGINS:
|
||||
return
|
||||
|
||||
|
||||
@@ -15,5 +15,5 @@ class OnMessageWorkflow:
|
||||
on_message_activity,
|
||||
message,
|
||||
task_queue=MAIN_QUEUE,
|
||||
schedule_to_close_timeout=timedelta(minutes=1)
|
||||
schedule_to_close_timeout=timedelta(minutes=5)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user