tryCommandWithResponse
- bool tryCommandWithResponse(BanchoBot bot, bool delegate(Message) @(safe) nothrow checkResponse, Message result, string channel, const(char)[] message, bool ratelimit, int retries)
- bool tryCommandWithResponse(BanchoBot bot, bool delegate(Message) @(safe) nothrow checkResponse, Message[] result, string channel, const(char)[] message, bool ratelimit, int retries)
- bool tryCommandWithResponse(OsuRoom room, bool delegate(Message) @(safe) nothrow checkResponse, Message ret, const(char)[] message)
- bool tryCommandWithResponse(OsuRoom room, bool delegate(Message) @(safe) nothrow checkResponse, Message[] ret, const(char)[] message)
@safe nothrow
bool
tryCommandWithResponse
- bool tryCommandWithResponseImpl(BanchoBot bot, bool delegate(Message) @(safe) nothrow checkResponse, Result result, string channel, const(char)[] message, bool ratelimit, int retries)
- auto commandWithResponse(OsuRoom room, bool delegate(Message) @(safe) nothrow checkResponse, const(char)[] message)
- auto commandWithIgnoredResponse(OsuRoom room, bool delegate(Message) @(safe) nothrow checkResponse, const(char)[] message)
Throws
bancho irc
classesenumsfunctionsmanifest constantsmixin templatesstatic variablesstructsvariables
Runs some command up to 3 times whether or not checkResponse returns true. Expects a response from BanchoBot.