Module bancho.irc

Provides an IRC connection to Bancho (osu!'s server system) and access to its commands (Multiplayer room creation)

Functions

NameDescription
shortForm(mod) Generates the short form for a mod (eg Hidden -> HD), can be more than 2 characters

Classes

NameDescription
BanchoBot Represents a Bancho IRC connection.
OsuRoom Represents a multiplayer lobby in osu! Automatically does ratelimiting by not sending more than a message every 2 seconds.

Structs

NameDescription
Message Represents a simple sent message from bancho
Quit Represents a user quitting or joining the IRC ingame or via web/irc
TopicChange Represents a topic change event (in the case of a multi room being created)

Enums

NameDescription
Mod
ScoreMode
Team
TeamMode

Templates

NameDescription
Processor Utility mixin template implementing dynamic timeout based event subscribing + static backlog Creates methods waitFor, process[fn], fetchOld[fn]Log, clear[fn]Log

Global variables

NameTypeDescription
banchoBotNick immutable(char[]) Username of BanchoBot (for sending !mp commands & checking source)

Aliases

NameTypeDescription
HighPriority std.typecons.Flag!("highPriority")