All Projects → airatk → kaishnik-bot

airatk / kaishnik-bot

Licence: MIT License
telegram & vk bot for students of KNRTU-KAI to make their daily routine more pleasant

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to kaishnik-bot

async py bot
dark0ghost.github.io/async_py_bot/
Stars: ✭ 23 (+76.92%)
Mutual labels:  telegram-bot, aiogram
Store-bot
Пример Telegram бота для продажи товаров.
Stars: ✭ 43 (+230.77%)
Mutual labels:  telegram-bot, aiogram
webhook-aiogram-heroku
A sample telegram bot made with aiogram, that fetches updates using the web-hook connection. Can be easily deployed to Heroku.
Stars: ✭ 36 (+176.92%)
Mutual labels:  telegram-bot, aiogram
hidethisbot
An inline Telegram bot to keep your private messages hidden from prying eyes.
Stars: ✭ 44 (+238.46%)
Mutual labels:  peewee, aiogram
Sophie
New repo - https://gitlab.com/SophieBot/sophie
Stars: ✭ 28 (+115.38%)
Mutual labels:  telegram-bot, aiogram
yt2audiobot
Telegram bot for converting YouTube videos to mp3
Stars: ✭ 26 (+100%)
Mutual labels:  telegram-bot, peewee
Aiogram
Is a pretty simple and fully asynchronous framework for Telegram Bot API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 2,195 (+16784.62%)
Mutual labels:  telegram-bot, aiogram
my-id-bot
Telegram bot to get ID of some chats (including your own ID)
Stars: ✭ 49 (+276.92%)
Mutual labels:  telegram-bot, aiogram
DaisyX
“ HOLA HUMANS 👋 I'M DAISYX 2.0 heart „ LATEST VERSION OF DAISYX.. Source Code of @Daisyxbot
Stars: ✭ 44 (+238.46%)
Mutual labels:  telegram-bot, aiogram
Defend-The-Castle
Telegram Bot Game - Defend The Castle
Stars: ✭ 21 (+61.54%)
Mutual labels:  telegram-bot
archivebot
💾 A telegram bot for backing up and collecting all kinds of media.
Stars: ✭ 65 (+400%)
Mutual labels:  telegram-bot
crawley
Crawley the Telegram Beholder
Stars: ✭ 24 (+84.62%)
Mutual labels:  telegram-bot
lazynite
A PC remote controller for YouTube and Twitch
Stars: ✭ 45 (+246.15%)
Mutual labels:  telegram-bot
FTG-Modules
Modules Repo for GeekTG Friendly-Telegram Mod
Stars: ✭ 20 (+53.85%)
Mutual labels:  telegram-bot
node-telegram-keyboard-wrapper
A support to manage keyboards and force replies in Telegram via bots
Stars: ✭ 32 (+146.15%)
Mutual labels:  telegram-bot
Google-Translator-Bot
Telegram Google Translater Bot Broadcast Available Suppport all language
Stars: ✭ 17 (+30.77%)
Mutual labels:  telegram-bot
TeleChatRelay
Relay between Telegram and WeChat
Stars: ✭ 17 (+30.77%)
Mutual labels:  telegram-bot
LilSholex
A project containing web apps and Telegram API bots.
Stars: ✭ 32 (+146.15%)
Mutual labels:  telegram-bot
Terminal
All-in-one solution for the management and security of your Telegram group. This is the third version and is written in C#
Stars: ✭ 12 (-7.69%)
Mutual labels:  telegram-bot
fanyi-bot
🤖 Telegram 上的谷歌翻译机器人,为全世界语言提供中文翻译。
Stars: ✭ 100 (+669.23%)
Mutual labels:  telegram-bot

Каист

kaishnik-bot logo

telegram & vk bot for students of KNRTU-KAI to make their daily routine more pleasant

Stack

Reason

The bot might be considered as kai.ru wrapper. Official mobile-unfriendly ugly inconvenient website had to be replaced by something usable. Here the @kaishnik_bot comes in.

Setup

Since the university is located in Kazan which is the Moscow time zone, the time zone should be set to Europe/Moscow.

Data

There should be data/ folder in the root directory of the bot. It should contain keys non-extension file with tokens & keys accessed using config module.

Launch setup

The requirements.txt file is included to the repository. So, use pip3 install -r requirements.txt to get all the necessities. Use python3 ./ to launch.

Architecture

The bot is stored in project root directory folder called bot/. The bot/ contains 3 subdirectories:

  • platforms/ - implementation of bot on a variety of social networks.
  • models/ - classes of peewee models of data stored in PostgreSQL database.
  • utilities/ - additional code that takes student data from the servers of the university, connects the bot to the database, and so on.

Each command has its own directory:

*command_name*/
├── __init__.py
├── *commands_file*.py
├── *commands_file*.py
├── guard.py
└── utilities/
    ├── keyboards.py
    ├── helpers.py
    ├── constants.py
    └── types.py

The structure is essential meanwhile all the noted files are optional. One-file commands are exceptions, and are located at bot/platforms/<platform>/commands/others/ directory. bot/platforms/<platform>/commands/schedule/ directory is also an exception, and may be considered as a super-command which consists of 3 similar, but separate commands.

Other stuff

  • update-logs/ folder contains notes which were sent to users as update announcements.
  • design/ folder contains .pxd & .png files with all the bot associatied design.

Design

All the stuff was drawn using Pixelmator Pro.

kaishnik_bot poster

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].