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