This commit is contained in:
2025-03-18 20:29:42 +01:00
parent 05bd4bde27
commit c4bcfe3b2b

View File

@@ -303,17 +303,6 @@ class MessagesProc:
reply_parent_message_id=event.message_id reply_parent_message_id=event.message_id
) )
@classmethod
async def _on_custom_reward(cls, twitch: Twitch, event: MessageEvent):
pass
# if event.channel_points_custom_reward_id:
# await twitch.send_chat_message(
# event.broadcaster_user_id,
# config.TWITCH_ADMIN_USER_ID,
# "Спасибо за поддержку!",
# reply_parent_message_id=event.message_id
# )
@classmethod @classmethod
async def on_message(cls, received_as: str, event: MessageEvent): async def on_message(cls, received_as: str, event: MessageEvent):
if event.chatter_user_name in cls.FULL_IGNORED_USER_LOGINS: if event.chatter_user_name in cls.FULL_IGNORED_USER_LOGINS:
@@ -329,4 +318,3 @@ class MessagesProc:
await cls._lasqexx(twitch, event) await cls._lasqexx(twitch, event)
await cls._ask_ai(twitch, event) await cls._ask_ai(twitch, event)
await cls._kurbezz(twitch, event) await cls._kurbezz(twitch, event)
await cls._on_custom_reward(twitch, event)