kameloso.plugins.bash

The Bash plugin looks up quotes from bash.org (or technically bashforever.com) and reports them to the appropriate nickname or channel.

Members

Classes

BashPlugin
class BashPlugin

The Bash plugin looks up quotes from bash.org (or technically bashforever.com) and reports them to the appropriate nickname or channel.

Functions

lookupQuote
void lookupQuote(BashPlugin plugin, string quoteID, IRCEvent event)

Looks up a quote from bashforever.com and sends it to the appropriate nickname or channel.

onCommandBash
void onCommandBash(BashPlugin plugin, IRCEvent event)

Fetch a random or specified bashforever.com quote.

onWelcome
void onWelcome(BashPlugin plugin, IRCEvent _)

Warns the user if SSL certificate verification is disabled.

parseResponseIntoBashLookupResult
auto parseResponseIntoBashLookupResult(HTTPQueryResponse response)

Parses the response body of a Response into a BashLookupResult.

selftest
auto selftest(BashPlugin _, Selftester s)

Performs self-tests against another bot.

Structs

BashLookupResult
struct BashLookupResult

The result of a bashforever.com lookup.

BashSettings
struct BashSettings

All Bash plugin settings gathered.

See Also

Meta