refactor(telegram-bot): add /edit command and make bot.py minimal entrypoint #34
Reference in New Issue
Block a user
Delete Branch "fix/issue-14"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
cmd_editas alias forcmd_updatebot.pyto import commands directly instead of via module/editcommand in bot and post_init commands listChanges
bot.py
from commands import cmd_start, cmd_help, ...)Updateimportcmd_edithandler/editto post_init command listcommands.py
cmd_edit = cmd_updatealiasTesting
All 119 tests pass.
Fixes #14
lgtm