mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-03 06:50:46 +01:00
Disable messages proc
This commit is contained in:
@@ -308,6 +308,8 @@ class MessagesProc:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
async def on_message(cls, received_as: str, event: MessageEvent):
|
async def on_message(cls, received_as: str, event: MessageEvent):
|
||||||
|
return
|
||||||
|
|
||||||
if event.chatter_user_name in cls.FULL_IGNORED_USER_LOGINS:
|
if event.chatter_user_name in cls.FULL_IGNORED_USER_LOGINS:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user