Module bancho.irc
Provides an IRC connection to Bancho (osu!'s server system) and access to its commands (Multiplayer room creation)
Functions
Name | Description |
shortForm(mod)
|
Generates the short form for a mod (eg Hidden -> HD), can be more than 2 characters
|
Classes
Name | Description |
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
Name | Description |
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)
|
Templates
Name | Description |
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
Name | Type | Description |
banchoBotNick
|
immutable(char[])
|
Username of BanchoBot (for sending !mp commands & checking source)
|
Aliases
Name | Type | Description |
HighPriority
|
std.typecons.Flag!("highPriority")
|
|