Skip to content
Discord bot that scans mmh and reports maps to channels
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.
app
bin
config
db
lib
log
public
spec
test
tmp
vendor
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

README

This is a discord bot that monitors makemehost.com and reports maps to your discord channels. It creates, edits and deletes the messages.

System dependencies

Configuration

Create a .env file with something like

TOKEN=ABCDEFG
CLIENT_ID=12345
INTERVAL=2m
HTTP_AUTH_USERNAME=admin
HTTP_AUTH_PASSWORD=adminpassword

Install gems

gem install bundler
bundle install

Load database migrations

rails db:migrate

Start

Start web server

rails s

Goto localhost:3000/admin and set up records of maps and keywords that you want to watch

Run makemehost watch schedule

rake discord

Run test suite

rspec spec

Deployment

I do not recommend deploying on heroku since you are scraping a website and also because you need to run a job every 2min which i am not sure heroku supports

You can’t perform that action at this time.