Tkd-Alex / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.2k stars 635 forks source link

Spam (discord webhook) #738

Closed antowkas closed 11 months ago

antowkas commented 11 months ago

To Reproduce When I start streaming from one of the streamers, the information about it gets duplicated multiple times, which results in an annoying spam.

Expected behavior I would like to see only one message indicating that the streamer has started broadcasting, instead of multiple duplicate messages.

Desktop:

Additional context

logger_settings=LoggerSettings(
        save=True,
        console_level=logging.INFO,
        console_username=False, 
        auto_clear=True,
        time_zone="",
        file_level=logging.DEBUG, 
        emoji=True, 
        less=False,
        colored=True,
        color_palette=ColorPalette(  
            STREAMER_online="GREEN", 
            streamer_offline="red", 
            BET_wiN=Fore.MAGENTA
        ),
        discord=Discord(
            webhook_api="https://discord.com/api/webhooks/***",
            events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE,
                    Events.BET_LOSE, Events.CHAT_MENTION],
        )

image