Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded framework #103

Merged
merged 39 commits into from
Aug 31, 2022
Merged

Upgraded framework #103

merged 39 commits into from
Aug 31, 2022

Conversation

bostrot
Copy link
Owner

@bostrot bostrot commented Jun 25, 2022

  • Switch from telegraf framework to grammy
  • Better error handling/reply improvements
  • Make ID command easier to understand
  • Improve character escaping
  • Auto reply msgs to config.yaml
  • Smaller container size
  • Parse Mode markdown
  • Replying to non-tickets or non-bot messages handling

Steps for future separation from telegram:

  • Telegram as addon

This adds following confi.yaml options:

parse_mode: "MarkdownV2" # Markdown, HTML or MarkdownV2

show_auto_replied: false # Send auto replied msgs to staff chat

autoreply:
  - question: "install"
    answer: "If you want to install the bot, you can use the following link:\n\
      [Getting Started](https://github.com/bostrot/telegram-support-bot/wiki/Getting-started)\n\n\
      Alternatively you can also use our one-click setup & hosting service:\n\
      [Botspace](https://botspace.bostrot.com/)"
  - question: "are you sure?"
    answer: "Yes."

Signed-off-by: Eric <me@bostrot.com>
Signed-off-by: Eric <me@bostrot.com>
@bostrot bostrot self-assigned this Jun 25, 2022
src/addons/web.ts Fixed Show fixed Hide fixed
src/addons/web.ts Fixed Show fixed Hide fixed
@bostrot bostrot linked an issue Jun 30, 2022 that may be closed by this pull request
1 task
@bostrot bostrot merged commit 6977cb8 into master Aug 31, 2022
@bostrot bostrot deleted the grammy_framework branch August 31, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix code scanning alert - Missing rate limiting
1 participant