Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.49 KB

readme.md

File metadata and controls

35 lines (23 loc) · 1.49 KB

Setup

  • Install node and npm from here
  • Get a working MongoDB instance (see below)
  • Get a working Redis instace (see below)
  • Run npm i
  • Create a bot using the @BotFather in Telegram
  • Add the bot to a group and find the group id (How-To)
  • Copy all the *.template.json files to *.json and configure your settings

MongoDB

You will need a MongoDB database. The schema is created on the fly. Collection names and the databases to use are set in the config.json.

A convinient way to get started is to use a free atlas instance in the cloud (Link).

Redis

You will need a running redis instance. An easy way is to use a docker-compose if you have docker set up (Link).

Running

npm run start

Used frameworks, libaries and technologies

Other resources

  • See messages.md for a list of messages sent over rrb
  • See commands.md for a list of commands that the bot supports