Giter VIP home page Giter VIP logo

super_karma_bot's Introduction

Super Karma Bot

Built With:

  • The Ruby language - version 2.5.0
  • Postgres
  • Sequel
  • Telegram API

Appointment

This Super Karma Bot allows teammates to reward each other with karma points. It helps building stronger and happier teams.

Bot comes with the dashboard that helps to stay on top of your team activity and visualises the stats.

How it works:

/all stat - shows Karma statistic for each user. Users ordering by Karma count(DESC).

For increasing Karma reply for user message with ++ text.

For decreasing Karma reply for user message with -- text.

Install

git clone https://github.com/TheBlackArroVV/super_karma_bot
cp .env.example .env
bundle install
rake db:migrate
bundle exec ruby main.rb

After install

  1. Before start using that bot, you have to register your own here.

  2. Disable Privacy mode in BotFather settings for your own bot.

  3. Enable Groups in BotFather settings for your own bot.

  4. After BotFather give you token insert this token into .ENV => TELEGRAM_TOKEN.

  5. Fill .ENV => DATABASE_URL as defined here using settings for Postgres.

  6. Add your bot to chosen Telegram Group.

Note that it takes some time for enabling Bot on Telegram Servers(about 4 hours).

super_karma_bot's People

Contributors

theblackarrovv avatar yashka713 avatar dependabot[bot] avatar

Stargazers

Anton Shevchuk avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

azatsepa

super_karma_bot's Issues

Добавить логгеры событий

Для регистрации событий в онлайн режиме необходимо добавить 2 логгера:

Поддержка нескольких чатов

Необходима поддержка нескольких чатов, чтобы по каждому чату велась отдельная стата по каждому пользователю.

Вызов Админов

Будет полезной фича, когда по команде /admins тегаются администраторы группы.

Как вариант super_karma_bot сообщением вызывает всех юзеров, кто имеет админ роль.

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.