Skip to content

ferocia/sternbot

Repository files navigation

Sternbot

An app to scrape player stats fom Stern Insider Connected.

Synopsis

This bot responds to Slack commands:

:pinball: players
:pinball: leaderboard
:pinball: add some_username
:pinball: remove some_username

Data Model

Insider Connected doesn't give us match history, which is annoying. We store every new observation of a high score, which gives us fake history.

Maintenance

The action happens in a background job (SyncJob) that is scheduled using Good Job's cron.

It's deployed to heroku. Some handy commands:

heroku logs --tail

You can access admin interface at https://ferocia-sternbot.herokuapp.com/good_job

To run a sync locally for testing:

rails console
Syncer.sync!(notify: false)

About

Slack integration for Godzilla stats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages