Class Channel

Table of contents Index

# class Channel - A class for keeping information about an IRC channel.

Declared in module ircbot

## Synopsis

    class Channel:
        def __init__(self)
        def add_user(self, nick)
        def change_nick(self, before, after)
        def clear_mode(self, mode, value=None) # Clear mode on the channel.
        def has_key(self)
        def has_limit(self)
        def has_message_from_outside_protection(self)
        def has_mode(self, mode)
        def has_topic_lock(self)
        def has_user(self, nick) # Check whether the channel has a user.
        def is_invite_only(self)
        def is_moderated(self)
        def is_oper(self, nick) # Check whether a user has operator status in the channel.
        def is_protected(self)
        def is_secret(self)
        def is_voiced(self, nick) # Check whether a user has voice mode set in the channel.
        def key(self)
        def limit(self)
        def opers(self) # Returns an unsorted list of the channel's operators.
        def remove_user(self, nick)
        def set_mode(self, mode, value=None) # Set mode on the channel.
        def users(self) # Returns an unsorted list of the channel's users.
        def voiced(self)

## Description

This class can be improved a lot.

## voiced(self)

None

Returns an unsorted list of the persons that have voice mode set in the channel.