Support

class irctk.isupport.ISupport
case_mapping

Returns the case mapping.

Example:

>>> support.case_mapping
'rfc1459'
channel_prefixes

Returns a list of channel prefixes.

Example:

>>> support.channel_prefixes
['#', '&']
is_channel(channel_name) → bool

Returns True if supplied channel name is a valid channel name.

Example:

>>> support.is_channel('#darkscience')
True

>>> support.is_channel('kylef')
False
maximum_channel_length

Returns the maximum length of a channel name.

Example:

>>> support.maximum_channel_length
200
maximum_nick_length

Returns the maximum length of a nickname.

Example:

>>> support.maximum_nick_length
9