Twitch-Channel-Points-Miner-v2
Twitch-Channel-Points-Miner-v2 copied to clipboard
Telegram doesn't work help pls :(
Hello, i installed everything correctly, the bot works, today I tried telegram, it seems to work, but it does not send me any message about the logs, I do not see any errors in logs in the vm
Show me your settings file
I have the same problem. My settings:
from TwitchChannelPointsMiner.classes.Telegram import Telegram
from TwitchChannelPointsMiner.classes.Settings import Events
from TwitchChannelPointsMiner.logger import LoggerSettings
from TwitchChannelPointsMiner.classes.entities.Streamer import Streamer, StreamerSettings
from TwitchChannelPointsMiner.classes.entities.Bet import Strategy, BetSettings, Condition, OutcomeKeys, FilterCondition, DelayMode
from TwitchChannelPointsMiner.classes.Chat import ChatPresence
from TwitchChannelPointsMiner import TwitchChannelPointsMiner
twitch_miner = TwitchChannelPointsMiner(
username="<CENSORED>",
password="<CENSORED>",
logger_settings=LoggerSettings(
save=False,
emoji=False,
less=False,
colored=True,
telegram=Telegram(
chat_id=-594754869,
token="<CENSORED>",
events=[Events.BET_WIN, Events.BET_LOSE, Events.BET_REFUND, Events.BET_START, Events.BET_FAILED],
disable_notification=True
)
),
streamer_settings=StreamerSettings(
make_predictions=True,
follow_raid=True,
claim_drops=True,
watch_streak=True,
chat=ChatPresence.ONLINE,
bet=BetSettings(
strategy=Strategy.SMART,
percentage=10,
percentage_gap=30,
max_points=50000,
stealth_mode=True,
delay_mode=DelayMode.FROM_END,
delay=5,
minimum_points=20000
)
)
)
twitch_miner.analytics(host = "0.0.0.0", port=5000, refresh=5)
twitch_miner.mine(["<CENSORED>"], followers=True)
Update: it sent messages about betting and losing bets but didn't send Events.BET_START That makes me think that it's either a misunderstanding about some of the event meanings or BET_START event is the problem here.
Forgot to mention, my image version: tkdalex/twitch-channel-points-miner-v2@sha256:dd42921c24b9d3c5d60fb449ec5e557908ab965a6ee7b632cd2e1a6cfa844d07