Giter Club home page Giter Club logo

telegram-standup-bot's Introduction

Telegram Standup Bot

!!! Pls note: the bot is in experimental condition !!!

Bot address: @standup_tbe_remak_bot

Support group: https://t.me/joinchat/EiE7ykcEzD3-3DfvxzdSow

It is inspired by a geekbot which exists only for slack.

The bot has basic functionality:

  • Add to standup group
  • When a new member joins the group the bot sends an invitation to join the standup
  • After that upon running /report command the bot starts the standup by asking questions
  • After the answer to the last question the bot publishes the report to the standup channel
  • Each 24 h the bot sends a reminder to submit the report.
  • Reminders could be turned on/of via /settings command

List of commands

  1. /help - Get a help
  2. /start - Start a bot
  3. /add_me - Add a user to the standup (Only for standup group)
  4. /remove_me - Remove a user from the standup (Only for standup group)
  5. /settings - Bot settings
  6. /report - Submit a report
  7. /stop_report - Stop report right now

Deployment

If you want to deploy own version of the bot then:

  1. Create your bot at @BotFather

  2. git clone https://github.com/ZhukovGreen/telegram-standup-bot.git

  3. Create .env file with:

    • BOT_TOKEN="your bot token"
    • LOGGING_LEVEL="INFO"
  4. docker-compose -f docker-compose.deploy.yml build

  5. docker swarm init

  6. docker stack deploy -c docker-compose.deploy.yml standup-bot

telegram-standup-bot's People

Contributors

poslegm avatar zhukovgreen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

telegram-standup-bot's Issues

Incorrect setting name in Dockerfile

The line Dockerfile:18 RUN poetry config settings.virtualenvs.create false results in an error during the image build.
According to the latest docs (and empirical data), this should be replaced with
RUN poetry config virtualenvs.create false

Options for Standuply schedule

We should have options for Standuply schedule so that user can make configure on starting the bot.

  • Step 1: Daily | Weekly | Monthy
  • Step 2: Specific time. Ex: 08:00 AM

/settings command has incorrect description and/or filter

When /settings command is called within a group (private/public group/supergroup), there is a misleading message This command can be used only in private groups.

I've investigated a bit, and the filter used is not filtering for private groups, but rather for private chats (types.ChatType.is_private).

Probably, the correct implementation should use types.ChatType.is_group_or_super_group with additional check for group type.
Or, it may use aiogram.dispatcher.filters.builtin.AdminFilter (available in recent [email protected], current settings file is locked to 2.0 and 2.0.1).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.