Skip to content
A Telegram bot for getting @everyone in your group's attention (and doing other fun things too!)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
bin
config
coverage
db
lib
log
public
spec
telegram_images
tmp
vendor
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

BrainTrust Bot: On Rails

Build Status

Now available via Telegram! Add @BrainTrustBot to your chat to get started!

A re-write of the original BrainTrust Bot, but with Ruby on Rails and better planning. The original bot has served its purpose well for multiple years, but it's time to start on something built from the ground-up.

The original bot has been subject to "feature creep" and, given the lack of foresight when it was originally written, did not handle this well. A lot of its features were "hacked on" because we originally did not anticipate their existence. So this is an attempt to start over, with a better understanding of which features were actually useful and how to implement them in a reasonable way.

Planned Features

Summons

  • Send a message to all members of a chat by tagging them all, so they'll be notified even if the chat is muted

Quotes

  • Store quotes from a chat (message text, author, sender, context)
  • Quotes with locations (optional)
  • Retrive quotes at random
  • Alexa support (ask Alexa for a random quote)
  • Automatically send quotes once a day with some probability (can be disabled)
  • Automatic quote generation based on Markov chains and all quotes collected from a single user

Photos

  • Store photos from a chat
  • Support captions
  • Retrive photos at random
  • Internal photo backup (as opposed to just being stored on Telegram)

Magic

  • Send a command to roll an 8-ball and get back a divine answer from the bot
  • Luck statistics for each member of a chat group

Birthdays

  • Send the bot your birthday via the /birthday command and have it notify everyone a week in advance

Administration

  • Admin interface for managing quotes, chats, photos, etc.
You can’t perform that action at this time.