Skip to main content

Standalone Twitch + Bancho IRC bot for handling osu! beatmap requests

Project description

Standalone Twitch + Bancho IRC bot for handling osu! beatmap requests.

https://travis-ci.org/pmrowla/gumiyabot.svg?branch=master

This package is used in Gumiya and is provided for users that wish to run their own bot instance and customize the bot’s functionality. If you only want a beatmap request bot, but do not need to modify or customize it, you may wish to just use stock Gumiya instead.

License:

MIT

Features

  • Support for linking a single twitch channel and single osu! account

  • Beatmap requests

  • PP info for beatmap requests (requires a Tillerino API key)

Requirements

  • Python 3.5+

  • Twitch IRC token - note that if you are using the token for your own Twitch account, the bot will connect to Twitch chat using your own account. It is recommended to register a secondary Twitch account for the bot.

  • Bancho (osu!) IRC credentials - note that multiaccounting in osu! is forbidden, and a bannable offense. This includes registering a bot-specific osu! account without explicit permission from osu! staff. Therefore, it is recommended to run the bot under your own osu! account. This will not affect any functionality, you will just receive map requests as in game PMs from yourself.

  • osu! API key

Installation

Via pip

pip install gumiyabot

Usage

  1. Generate a new config.ini

    gumiyabot –new-config

  2. Edit config.ini as needed (see configuration section below)

  3. Run the bot

    gumiyabot config.ini

Configuration

See config.ini.example for details on configuration options.

Developing

If you need to extend either of the base plugin classes, there are some things to note beforehand:

  • Your subclass must have an __init__ method. If you do not need to add any custom functionality, it should just call super(MyPluginClass, self).__init__().

  • Any irc3.event or irc3.command decorated method from the base plugin class must be overridden in your subclass. If you want the base plugin’s event or command handling, just call super() from your subclass.

  • For examples, see the Gumiya IRC plugins

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gumiyabot-0.1.1.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file gumiyabot-0.1.1.tar.gz.

File metadata

  • Download URL: gumiyabot-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gumiyabot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5673dd9d76cad45d2b2f8ad6f96a31217216df26c5e69b6d039e3807772cca98
MD5 c511c151ce57911c1de83e8d8d6accf9
BLAKE2b-256 ae7945f37ca51b7fe2204cb545a3e00d12d02bd83325ca4cfce5681d567a4465

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page