Skip to content

mdraevich/listen_and_repeat_bot

Repository files navigation

TODO

  1. poll_channels_module, handle FloodWaitError exception.
  2. add feature to ignore specific questions from asking.
  3. add feature to add user-defined answers for questions.
  4. add feature to define different parsers for different channel.
  5. add more unit tests before building; add unit tests after building.

Create authentication file

  1. Prepare ./secrets directory if not exists:
# in the project root directory

mkdir -p secrets
  1. Prepare environment file with required parameters if not exists:
# in the project root directory

echo "PHONE=$PHONE" >> .env
echo "API_ID=$API_ID" >> .env
echo "API_HASH=$API_HASH" >> .env
  1. Follow the authentication process to create a session file:
# in the project root directory

pipenv install
pipenv run python3 session_handler/main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published