IrcClient.addChannelModes

Add or remove channel modes in the given channel.

  1. struct ChannelMode
  2. void addChannelModes(in char[] channel, ChannelMode[] modes...)
    class IrcClient
    void
    addChannelModes
  3. void removeChannelModes(in char[] channel, ChannelMode[] modes...)

Examples

Give channel operator status (+o) to Alice and voice status (+v) to Bob in channel #foo:

client.addChannelModes("#foo", ChannelMode('o', "Alice"), ChannelMode('v', "Bob"));

Meta