Closed VuzzyM closed 2 years ago
Well as it says you have to declads ACCOUNTS env variable either in .env file or heroku environment variable export
Well as it says you have to declads ACCOUNTS env variable either in .env file or heroku environment variable export
Format "@User" or how?
export ACCOUNTS= "manutd,nasa" like this @VuzzyM
export ACCOUNTS= "manutd,nasa" like this @VuzzyM
2022-07-21T16:01:36.242371+00:00 app[worker.1]: thread 'main' panicked at 'Invalid Chat ID: ParseIntError { kind: InvalidDigit }', src/config.rs:32:14
2022-07-21T16:01:36.242392+00:00 app[worker.1]: note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Invalid chat id, how to fix?
export ACCOUNTS= "manutd,nasa" like this @VuzzyM
2022-07-21T16:01:36.242371+00:00 app[worker.1]: thread 'main' panicked at 'Invalid Chat ID: ParseIntError { kind: InvalidDigit }', src/config.rs:32:14
2022-07-21T16:01:36.242392+00:00 app[worker.1]: note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceInvalid chat id, how to fix?
What kind of chat should I put here?
@VuzzyM You have to put the chat ID of the telegram chat. Please read the instructions in example.env @VuzzyM
I followed the instructions and it didn't work, i used channel, not chat for test.
@VuzzyM You have to put the chat ID of the telegram chat. Please read the instructions in example.env @VuzzyM
?
@VuzzyM You have to put the chat ID of the telegram chat. Please read the instructions in example.env @VuzzyM
Do you have to add the bot to the chat and after adding the id?
@dracarys18 what format should i use? export Chat Id= "-id" from group or chat?
Problem with herokuapp:
Log:
022-07-19T16:48:10.142385+00:00 heroku[worker.1]: Starting process with command
./target/release/tweet_bot
2022-07-19T16:48:10.800592+00:00 heroku[worker.1]: State changed from starting to up 2022-07-19T16:48:10.884084+00:00 app[worker.1]: thread 'main' panicked at 'Missing ACCOUNTS: NotPresent', src/config.rs:24:14 2022-07-19T16:48:10.884099+00:00 app[worker.1]: note: run withRUST_BACKTRACE=1
environment variable to display a backtrace 2022-07-19T16:48:11.027775+00:00 heroku[worker.1]: Process exited with status 101 2022-07-19T16:48:11.176182+00:00 heroku[worker.1]: State changed from up to crashed 2022-07-19T16:48:11.179858+00:00 heroku[worker.1]: State changed from crashed to starting 2022-07-19T16:48:11.506615+00:00 heroku[worker.1]: Starting process with command./target/release/tweet_bot
2022-07-19T16:48:12.245036+00:00 heroku[worker.1]: State changed from starting to up 2022-07-19T16:48:12.379862+00:00 app[worker.1]: thread 'main' panicked at 'Missing ACCOUNTS: NotPresent', src/config.rs:24:14 2022-07-19T16:48:12.379881+00:00 app[worker.1]: note: run withRUST_BACKTRACE=1
environment variable to display a backtrace 2022-07-19T16:48:12.658455+00:00 heroku[worker.1]: State changed from up to crashed 2022-07-19T16:48:12.508846+00:00 heroku[worker.1]: Process exited with status 101