mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Fix
This commit is contained in:
@@ -138,13 +138,15 @@ class MessagesProc:
|
||||
IGNORED_USER_LOGINS = [
|
||||
"jeetbot",
|
||||
"kurbezz",
|
||||
"pahangor",
|
||||
]
|
||||
|
||||
@classmethod
|
||||
async def on_message(cls, event: MessageEvent):
|
||||
logging.info(f"Received message: {event}")
|
||||
|
||||
if event.chatter_user_name == "pahangor":
|
||||
return
|
||||
|
||||
twitch = await authorize()
|
||||
|
||||
if "гойда" in event.message.text.lower():
|
||||
|
||||
Reference in New Issue
Block a user