Git Product home page Git Product logo

manjiro_sano's Introduction

manjiro_sano

Anime telegram bot for group management

Telegram bot written in python using aiogram as the framework, postgresql as the database

Available commands:

  • !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)

Development

System dependencies

  • 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

Setup environment

  • Rename .env.dist to .env
  • Fill in your data
  • ADMINS is responsible for the list of bot administrators, so far not used
  • BOT_TOKEN is responsible for the heart of the bot, without it it will not work, get in BotFather
  • PG_HOST is responsible for where your database is located
  • PG_USER and PG_PASSWORD are needed to access the database
  • DATABASE database name
  • GIF_API_KEY - you can get it HERE

manjiro_sano's People

Contributors

waydk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.