Subscribe to OSU mappers https://vc.osu.technology
Find a file
2020-10-12 08:14:56 -05:00
.gitignore implement git repo storage 2020-10-12 03:50:18 -05:00
bot.go fix pending list 2020-10-12 08:14:56 -05:00
config.go update 2020-10-11 23:22:47 -05:00
db.go initial commit 2020-10-11 14:32:58 -05:00
go.mod implement git repo storage 2020-10-12 03:50:18 -05:00
go.sum implement git repo storage 2020-10-12 03:50:18 -05:00
main.go use the pending list instead of scraping individual beatmap pages 2020-10-12 07:23:32 -05:00
models.go use the pending list instead of scraping individual beatmap pages 2020-10-12 07:23:32 -05:00
osuapi.go use the pending list instead of scraping individual beatmap pages 2020-10-12 07:23:32 -05:00
README.md add readme 2020-10-12 05:00:28 -05:00
scrape.go fix pending list 2020-10-12 08:14:56 -05:00

subscribe-bot

Subscribes to OSU map updates and stores versions for later review.

Please don't run a separate bot, the official one is subscribe-bot#8789. If you want to contribute or test the bot, then here are instructions on how to run it:

How to run

  1. Build the bot using a Go compiler that supports modules (1.11 or higher). Running go build in the root of the repo should work.
  2. Create a configuration file called config.toml (can be called something else as long as you pass it into the executable as a command-line argument).
    • client_id (int) and client_secret (string) are oauth-related settings you can obtain from the OSU settings page.
    • bot_token (string) is Discord's bot auth{entication,orization} token, you can get that from Discord developers' page.
    • repos (path) is a path to where map repositories should be stored.
  3. Run the executable, passing -config {path} in case you want to use a different config file than config.toml.

License

GPL3