Vladislav Glinsky
86e4bfe47c
Ignore message deletion errors
6 years ago
Vladislav Glinsky
c5662ac68a
Decorator for caller's message deletion code
6 years ago
Vladislav Glinsky
8911d859fa
Cleanup, rename package `command_handlers` to `commands`
6 years ago
Vladislav Glinsky
7441d3a5a3
Improve `/fortune` command
Send 'typing' action, delete message of the user who requested a fortune
telling and add his/her name to epigram in reply
closes #8
6 years ago
Vladislav Glinsky
28466a2ae0
Improve error descriptions in error handler
6 years ago
Vladislav Glinsky
4a0bffdcd1
[roll] Add d% alias for percentile dice (d100)
6 years ago
Vladislav Glinsky
659d6897fd
Improve documentation, correct required Python version
6 years ago
Vladislav Glinsky
55ac119c6e
Refactoring
Convert whole project to runnable package
Extract command handlers into separate modules
Add setuptools build script
Replace requirements.txt use with "editable" install of project package
in Dockerfile
6 years ago
Vladislav Glinsky
8e760a06de
Use MIT license
6 years ago
Vladislav Glinsky
15adff88ef
Update python-telegram-bot to 12.3.0
6 years ago
Vladislav Glinsky
4ec3166684
Add missing exception handling in error reporting
6 years ago
Mykyta Solomko
96adfb58a1
Use build-base metapackage instead of alpine-sdk
6 years ago
Vladislav Glinsky
fab6102ec0
Improve error reporting
Handle cases when bot can’t send error reports to users who blocked the
bot or didn’t yet initiated conversation
closes #5
6 years ago
Mykyta Solomko
6f2150cdf7
Added dice_parser.py to Dockerfile
6 years ago
Vladislav Glinsky
77678008a8
Add sending error reports to DMs
6 years ago
Vladislav Glinsky
6ba0813be4
Add `/r` alias for `/roll` command
6 years ago
Vladislav Glinsky
6b69d07f93
Add modifier to dice roll
6 years ago
Vladislav Glinsky
e608202d6e
Add basic `/roll` implementation
6 years ago
Vladislav Glinsky
d3e5cc699d
`/roll`: Add limits for sides and rolls
6 years ago
Vladislav Glinsky
f1796ef2c5
Add initial `roll` implementation
6 years ago
Vladislav Glinsky
2f201acec3
Completely ignore edits in /me
6 years ago
Vladislav Glinsky
c81d2d0e29
Remove unused 'start' command, improve help message
6 years ago
Vladislav Glinsky
81261e3c07
Add 'ping' command
6 years ago
Vladislav Glinsky
943c0555ef
Add `/fortune` command
6 years ago
Mykyta Solomko
3556dc8a1e
Added fortune package
6 years ago
Vladislav Glinsky
e30c4cd6cb
Update 'me' command
Delete original message
Use mention in a
Change empty message reply
6 years ago
Vladislav Glinsky
345bf09ed3
Cleanup and update code for python-telegram-bot 12
6 years ago
Mykyta Solomko
208983854b
Changed workdir
6 years ago
Mykyta Solomko
e09747fd9d
Tabs to spaces
6 years ago
Mykyta Solomko
cdd3146c1f
Added docker-related stuff
6 years ago
Vladislav Glinsky
0a3dbe3d19
Add answer for /me command sent w/o message
8 years ago
Vladislav Glinsky
68f449936b
Initial commit
8 years ago