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

A simple script that will watch a stream for you and earn the channel points.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spam (discord webhook)

antowkas opened this issue · comments

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:

  • OS: Ubuntu 22.04.2 LTS
  • Python version: 3.11.2

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