-
Notifications
You must be signed in to change notification settings - Fork 10
Bot.commandinput
astronouth7303 edited this page Nov 19, 2011
·
1 revision
Commands are passed, in input
, a bot.CommandInput
object, which inherits from unicode
.
- String value: The text of the IRC command (in IRC terms, everything that comes after the colon).
-
ci.sender
: The channel or private exchange it was sent on (and usually replied to) -
ci.nick
: The user that sent it -
ci.event
: The IRC command (usuallyPRIVMSG
) -
ci.bytes
: The encoded version of the string value -
ci.match
: The match object from thecommand.rule
regular expression -
ci.group
: same asci.match.group
-
ci.groups
: same asci.match.groups
-
ci.args
: Not really sure. Everyon usesci.group
-
ci.admin
: Boolean indicating thatci.nick
is an administrator. -
ci.ownder
: Boolean indicating thatci.nick
is the owner.