Channel

class irctk.channel.Channel(name: str)

Represents a channel

class irctk.channel.Membership(nick: irctk.nick.Nick, modes: List[str] = None)

Represents a nick membership inside a channnel.

has_mode(perm: str) → bool

Checks if the membership contains a user mode

>>> membership.has_mode('o')