Telegram bot written in python using aiogram as the framework, postgresql as the database
!mute /mute- prohibit a user from writing for a certain period of time (!ro 1 spam)!unmute /unmute- to allow writing again (!un_ro)!ban /ban- Remove a user from the group (!ban)!unban /unban- Ability to return to the group (!un_ban)/set_welcome- Allows you to set the chat greeting (/set_welcome some text)/set_farewell-Allows you to set a goodbye for users (/set_farewell some text)/kick- An entertaining command that allows you to hit another user (/kick)/anime- Сommand to search for information about anime (/anime title_anime)/say- with this command you can make the bot say something (/say text)/gif- you can find a gif with the given text (/gif text)
- Python 3.9
- SQLAlchemy 1.3.24
- environs 8.0.0
- gino 1.0.1
- asyncpg 0.22.0
- aiogram 2.13
- loguru 0.5.3
- requests 2.25.1
- Rename .env.dist to .env
- Fill in your data
ADMINSis responsible for the list of bot administrators, so far not usedBOT_TOKENis responsible for the heart of the bot, without it it will not work, get in BotFatherPG_HOSTis responsible for where your database is locatedPG_USER and PG_PASSWORDare needed to access the databaseDATABASEdatabase nameGIF_API_KEY- you can get it HERE
