Python telegram bot напоминалка

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

telegram bot with async realisation remind functional

License

syth0le/tg_reminder_bot

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Читайте также:  Error fail to find java version

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

telegram bot with async realisation remind functional

для начала работы проделайте следующие шаги:

  • зарегистрируйте нового бота в telegram и возьмите его API_TOKEN
  • узнайте свой user_id в telegram
  • установите python 3.8+ для корректной работы с ботом
  • склонируйте репозиторий

$ cd tg_reminder_bot $ pip install virtualenv $ virtualenv venv $ source venv/bin/activate $ pip install -r requirements.txt

В будущем напишу shell скрипт для автоматического выполнения шагов. Приятного пользования!

About

telegram bot with async realisation remind functional

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A Telegram Bot which serves as a reminder of your meetings, appointments, events etc.

License

dome272/Telegram-Reminder-Bot

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A Telegram Bot which serves as a reminder for your meetings, appointments, events etc.

/start -> add a new reminder

/list -> lists all scheduled future reminders

/time -> change your timezone (standard on utc time)

The code uses the telegram.ext ConversationHandler to create a guided and flawless conversation flow. Moreover it uses different other telegram.ext classes to «ask & get» the responses information from the user. Furthermore all of the data is being stored in reminder.json to create the data flow between the different states of the ConversationHandler and have the opportunity to access the reminder later on (e.g. for the /list command). To provide this bot for people from different timezones, you have the opportunity to set your local timezone using the /time command to receive the reminders for your local time instead of the bot’s / server’s local time. Disclaimer: This is my first bot for telegram, so there might be things that could have been implemented and routed easier than I did.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Reminder Bot for Telegram on aiogram and sqlite3

License

coder8jedi/ReminderBot

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A Reminder Bot for Telegram on aiogram and sqlite3

alt text

  • /set_reminder — create new reminder
  • /my_reminders — print your reminders
  • /del_reminder — delete reminder
  • /edit_reminder — edit reminder
  • /cancel — cancel
  • /utc — change time zone
  • /lang — change interface language
  • /help — print a list of commands
├── app/ │ ├── handlers/ │ │ ├── __init__.py │ │ ├── common.py │ │ ├── del_reminder.py │ │ ├── edit_reminder.py │ │ ├── lang.py │ │ ├── my_reminder.py │ │ ├── set_reminder.py │ │ └── utc.py │ ├── __init__.py │ ├── config_reader.py │ ├── keyboards.py │ ├── localization.py │ ├── remiders_run.py │ └── utc_time.py ├── config/ │ └── bot.ini ├── localization/ │ ├── en.txt │ └── uk.txt ├── bot.py └── data.db 

/help — print a list of commands

/set_reminder — create new reminder

/my_reminders — print your reminders

/del_reminder — delete reminder

/edit_reminder — edit reminder

/cancel — cancel command where there is not cancel button

/lang — change inteface language

About

Reminder Bot for Telegram on aiogram and sqlite3

Источник

Оцените статью