Go to the latest version of this document.

# ``twisted`.`words`.`im`.`basesupport`.`AbstractGroup``

class documentation

`class AbstractGroup: (source)`

Known subclasses: `twisted.words.im.ircsupport.IRCGroup`, `twisted.words.im.pbsupport.TwistedWordsGroup`

Constructor: `AbstractGroup(name, account)`

View In Hierarchy

Undocumented

Method | `__init__` | Undocumented
Method | `__repr__` | Undocumented
Method | `__str__` | Undocumented
Method | `getGroupCommands` | finds group commands
Method | `getTargetCommands` | finds group commands
Method | `join` | Undocumented
Method | `leave` | Undocumented
Instance Variable | `account` | Undocumented
Instance Variable | `name` | Undocumented

def __init__(self, name, account): (source)
overridden in `twisted.words.im.pbsupport.TwistedWordsGroup`

Undocumented

def __repr__(self) -> `str`: (source)

Undocumented

def __str__(self) -> `str`: (source)

Undocumented

def getGroupCommands(self): (source)

finds group commands

these commands are methods on me that start with imgroup_; they are called with no arguments

def getTargetCommands(self, target): (source)

finds group commands

these commands are methods on me that start with imgroup_; they are called with a user present within this room as an argument

you may want to override this in your group in order to filter for appropriate commands on the given user

def join(self): (source)

Undocumented

def leave(self): (source)
overridden in `twisted.words.im.ircsupport.IRCGroup`, `twisted.words.im.pbsupport.TwistedWordsGroup`

Undocumented

account = (source)

Undocumented

name = (source)

Undocumented