Commit Graph

16 Commits

Author SHA1 Message Date
trueold89 5069c7534c
Database bugfix in __bool__ method 2024-06-07 19:19:24 +03:00
trueold89 9e9e508c30
Update /create command
- Deleting and creating a group is now separated into two different functions
- The bot now reports its actions to the chat room
2024-06-07 18:53:50 +03:00
trueold89 d5f378492f
Now before creating a new group, the bot deletes previously created channels 2024-06-07 18:38:24 +03:00
trueold89 a9ce6a60b9
The "/create" commnad is now available in the bot menu 2024-06-07 18:34:11 +03:00
trueold89 9106386211
Remove unused User class 2024-06-04 18:53:02 +03:00
trueold89 f26f8cdd9a
Buffix in ENV class
- CIRCLES_COUNT now returns int
2024-06-03 20:57:29 +03:00
trueold89 9d10ffc70f
Update bot.py
- Add new intents
- Add new function 'on_ready'
2024-06-03 19:02:19 +03:00
trueold89 b07af72901
Update ENV class
- Add CLIENT_ID property
2024-06-03 19:01:44 +03:00
trueold89 e6c44193f8
Update bot.py
- Add move bot event
2024-06-03 18:00:23 +03:00
trueold89 1199c74aa7
Add comments/docstrings to bot.py 2024-06-03 16:59:02 +03:00
trueold89 8b36f6c0b2
Init bot.py
- Add create bot command
2024-06-03 16:53:40 +03:00
trueold89 b6690160be
Update ENV class & ServersDB class & DB class
- Add BOT_TOKEN property to ENV
- Add CIRCLES_COUNT property to ENV
- Add channel_id param to add_channel method
- Update accessibility of some methods
2024-06-03 16:44:41 +03:00
trueold89 c47688f0db
Reformatting repo
- Add sample README.md file
- Add LICENSE file
- Add docstrings for classes
- Add comments
- Rename sove vars
- Replace unnecessary triple quotation
2024-05-29 20:35:22 +03:00
trueold89 3392d67c29
Init User class
- Declared move_to method
2024-05-29 19:57:55 +03:00
trueold89 c808633cc8
Init ENV class
- Add DB_PATH property

Init DataBase class && ServersDB class
- Add add_channel method
- Add get_channels method
- Add clear_channels method
2024-05-29 19:42:28 +03:00
trueold89 912598737d
Initial commit 2024-05-29 16:49:53 +03:00