- The Ruby language - version 2.5.0
- Postgres
- Sequel
- Telegram API
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.
/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.
git clone https://github.com/TheBlackArroVV/super_karma_bot
cp .env.example .env
bundle install
rake db:migrate
bundle exec ruby main.rb
-
Before start using that bot, you have to register your own here.
-
Disable
Privacy mode
in BotFather settings for your own bot. -
Enable
Groups
in BotFather settings for your own bot. -
After BotFather give you
token
insert this token into.ENV
=>TELEGRAM_TOKEN
. -
Fill
.ENV
=>DATABASE_URL
as defined here using settings forPostgres
. -
Add your bot to chosen Telegram Group.
Note that it takes some time for enabling Bot on Telegram Servers(about 4 hours).