Commit Graph

20 Commits

Author SHA1 Message Date
Derek 4483e85c5a
Misc ux impovments 2018-06-28 17:26:46 -07:00
Derek 9a8243e069
Fix silly syntax error 2018-06-28 17:16:21 -07:00
Derek 20914fcfd9
Fix underscore in chat name causes api error bug
When we do parse_markdown, telegram api will punt us out
if we give it bad markdown. Literal underscores have to be
escaped as they are special characters in markdown
2018-06-28 17:11:35 -07:00
Derek 72be1eb741
Fix channel behavior
from_user is not avalible in channels,
so instead we lookup the creator of the channel
and send to them instead.

This should be configurable in the future
2018-06-28 17:10:32 -07:00
Derek ec10b59a7e
Better logging
Log traceback even when exception is handled
2018-06-28 17:08:35 -07:00
Derek 0e014fbca2
Merge branch 'feature/better-group-behaviour' 2018-06-28 15:43:20 -07:00
Derek 0c000866ca
Fix wrong command mentioned in PM failure 2018-06-28 15:34:17 -07:00
Derek ebb0c0bbbf
Fix revoke message being sent via manage 2018-06-28 15:24:07 -07:00
Derek 6405ead2f8
Step 2 of token management in PM
now with extra callback queries
2018-06-28 15:04:49 -07:00
Derek 5c152c75f6
Webhook management by cli 2018-06-28 19:34:12 +00:00
Derek 64d8e0408f
Step 1 of token management in PM 2018-06-27 00:36:36 +00:00
Derek c734bd86c9
Keep tokens private by PM'ing them and restrict non-admins in groups
Also seperates /start from registering, now in /register
so that you can "activate" the bot without registering

(useful for disabling the blocked-if-not-talked-to behaviour
of telegram bots)
2018-06-27 00:33:19 +00:00
Derek 08bed15dfe
Add more detailed help docs 2018-06-26 22:01:53 +00:00
Derek 5e3b67681d
Fix setup procedure 2018-06-26 22:01:37 +00:00
Derek 021fde49df
Add gunicorn as a dependecy 2018-06-26 22:01:09 +00:00
Derek 85d0d27086
Add token / register flow
Plus some code cleanup along the way
as always
2018-06-26 21:14:15 +00:00
Derek 51b7d057e9
Only set webhook if __main__ 2018-06-26 20:37:50 +00:00
Derek 08a45dcd8a
Disable telebot threading since Flask / gunicorn will thread itself 2018-06-26 19:49:21 +00:00
Derek 0484921c6e
Added db capibilities 2018-06-26 19:34:35 +00:00
Derek 78cf3a4121
Initial commit 2018-06-26 19:16:58 +00:00