The official VLDC telegram group bot.
- ๐ผ core โ core
- ๐ผ version โ show this message
- ๐ป still โ do u remember it?
- ๐พ uwu โ don't uwu!
- ๐คญ mute โ mute user for N minutes
- ๐ซ roll โ life is so cruel... isn't it?
- โ๏ธ banme โ commit sudoku
- ๐ช ban โ ban! ban! ban!
- ๐ tree โ advent of code time!
- โ๐คฌ coc โ VLDC/GDG VL Code of Conduct
- ๐ more than 70k? โ try to hire!
- ๐ป got sk1lzz? โ put them to use!
- ๐ smell like PRISM? nononono!
- ๐ฐ kozula Don't argue with kozula rate!
- ๐ผ smile mode โ allow only stickers in the chat
- ๐ since mode โ under construction
- ๐งผ towel mode โ anti bot
- ๐ fools mode โ what? not again!
- ๐ฆ covid mode โ fun and gamez
- ๐คซ nastya mode โ stop. just stop
Setup your env vars in example.env
and rename it to .env
. Don't push .env
to public repos!
make up
make build
Create test Telegram bot, and store TOKEN and chat id, you will need it for developing.
User make
to up dev services:
Usage: make [task]
task help
------ ----
build Build all
up Up All and show logs
update Restart bot after files changing
stop Stop all
down Down all
test Run tests
lint Run linters (black, flake8, mypy, pylint)
format Format code (black)
help Show help message
Don't forget run make lint
and make test
before commit! For code formatting we are use black, so, just run make format
to fire it :3
Create launch.json
under your .vscode
directory in project, add the following content onto it:
{
"version": "0.2.0",
"configurations": [
{
"name": "Docker Python",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
}
],
}
]
}
Also, put DEBUGGER=True
into your .env
file. After that you can do debugging with VS Code, by running containerized application and hitting Run -> Start Debugging
or F5
button.
Bug reports, bug fixes and new features are always welcome. Please open issues and submit pull requests for any new code.