addChannel

Adds a channel to the list of currently active home or guest channels, to the IRCBot.homeChannels and IRCBot.guestChannels arrays of the current AdminPlugin's IRCPluginState, respectively.

Follows up with a Fiber to verify that the channel was actually joined.

version(WithAdminPlugin)
private
void
addChannel
(,,
const string rawChannel
,
const Flag!"home" addAsHome
)

Parameters

plugin AdminPlugin

The current AdminPlugin.

event IRCEvent

The triggering IRCEvent.

rawChannel string

The channel to be added, potentially in unstripped, cased form.