.. _plugin-channel: The Channel plugin ================== Lobotomy -------- .. _command-channel-lobotomy-list: lobotomy list ^^^^^^^^^^^^^ Returns the channels in which this bot is lobotomized. .. _command-channel-lobotomy-remove: lobotomy remove [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will unlobotomize the bot, making it respond to requests made in the channel again. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-lobotomy-add: lobotomy add [] ^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will "lobotomize" the bot, making it silent and unanswering to all requests made in the channel. ** is only necessary if the message isn't sent in the channel itself. (Un)setting modes ----------------- .. _command-channel-unmoderate: unmoderate [] ^^^^^^^^^^^^^^^^^^^^^^ Sets -m on **, making it so everyone can send messages to the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-devoice: devoice [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will remove voice from all the nicks given. If no nicks are given, removes voice from the person sending the message. .. _command-channel-deop: deop [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will remove operator privileges from all the nicks given. If no nicks are given, removes operator privileges from the person sending the message. .. _command-channel-limit: limit [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sets the channel limit to **. If ** is 0, or isn't given, removes the channel limit. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-moderate: moderate [] ^^^^^^^^^^^^^^^^^^^^ Sets +m on **, making it so only ops and voiced users can send messages to the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-unban: unban [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unbans ** on **. If ** is not given, unbans any hostmask currently banned on ** that matches your current hostmask. Especially useful for unbanning yourself when you get unexpectedly (or accidentally) banned from the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-dehalfop: dehalfop [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will remove half-operator privileges from all the nicks given. If no nicks are given, removes half-operator privileges from the person sending the message. .. _command-channel-key: key [] [] ^^^^^^^^^^^^^^^^^^^^^^^ Sets the keyword in ** to **. If ** is not given, removes the keyword requirement to join **. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-halfop: halfop [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,halfop capability, this will give all the **s you provide halfops. If you don't provide any **s, this will give you halfops. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-mode: mode [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sets the mode in ** to **, sending the arguments given. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-ban-list: ban list [] ^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will show you the current persistent bans on #channel. .. _command-channel-ban-remove: ban remove [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will remove the persistent ban on **. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-ban-add: ban add [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will effect a persistent ban from interacting with the bot on the given ** (or the current hostmask associated with **. Other plugins may enforce this ban by actually banning users with matching hostmasks when they join. ** is an optional argument specifying when (in "seconds from now") the ban should expire; if none is given, the ban will never automatically expire. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-voice: voice [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,voice capability, this will voice all the **s you provide. If you don't provide any **s, this will voice you. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-op: op [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will give all the **s you provide ops. If you don't provide any **s, this will op you. ** is only necessary if the message isn't sent in the channel itself. Inviting and kicking users -------------------------- .. _command-channel-kick: kick [] [, , ...] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Kicks **(s) from ** for **. If ** isn't given, uses the nick of the person making the command as the reason. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-invite: invite [] ^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will invite ** to join **. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-kban: kban [] [--{exact,nick,user,host}] [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will kickban ** for as many seconds as you specify, or else (if you specify 0 seconds or don't specify a number of seconds) it will ban the person indefinitely. *--exact* bans only the exact hostmask; *--nick* bans just the nick; *--user* bans just the user, and *--host* bans just the host. You can combine these options as you choose. ** is a reason to give for the kick. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-cycle: cycle [] ^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will cause the bot to "cycle", or PART and then JOIN the channel. ** is only necessary if the message isn't sent in the channel itself. Utitilies --------- .. _command-channel-nicks: nicks [] [--count] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns the nicks in **. ** is only necessary if the message isn't sent in the channel itself. Returns only the number of nicks if *--count* option is provided. .. _command-channel-alert: alert [] ^^^^^^^^^^^^^^^^^^^^^^^^ Sends ** to all the users in ** who have the **,op capability. .. _command-channel-disable: disable [] [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will disable the ** in **. If ** is provided, ** will be disabled only for that plugin. If only ** is provided, all commands in the given plugin will be disabled. ** is only necessary if the message isn't sent in the channel itself. Ignores ------- .. _command-channel-ignore-list: ignore list [] ^^^^^^^^^^^^^^^^^^^^^^^ Lists the hostmasks that the bot is ignoring on the given channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-ignore-remove: ignore remove [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will remove the persistent ignore on ** in the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-ignore-add: ignore add [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will set a persistent ignore on ** or the hostmask currently associated with **. ** is an optional argument specifying when (in "seconds from now") the ignore will expire; if it isn't given, the ignore will never automatically expire. ** is only necessary if the message isn't sent in the channel itself. Capabilities ------------ .. _command-channel-capability-set: capability set [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will add the channel capability ** for all users in the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-capability-setdefault: capability setdefault [] {True|False} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will set the default response to non-power-related (that is, not {op, halfop, voice} capabilities to be the value you give. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-capability-list: capability list [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Returns the capabilities present on the **. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-capability-remove: capability remove [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will take from the user currently identified as ** (or the user to whom ** maps) the capability ** in the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-capability-add: capability add [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will give the user ** (or the user to whom ** maps) the capability ** in the channel. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-capability-unset: capability unset [] [ ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will unset the channel capability ** so each user's specific capability or the channel default capability will take precedence. ** is only necessary if the message isn't sent in the channel itself. .. _command-channel-enable: enable [] [] [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have the #channel,op capability, this will enable the ** in ** if it has been disabled. If ** is provided, ** will be enabled only for that plugin. If only ** is provided, all commands in the given plugin will be enabled. ** is only necessary if the message isn't sent in the channel itself. .. _plugin-channel-config: Configuration ------------- .. _supybot.plugins.Channel.alwaysRejoin: supybot.plugins.Channel.alwaysRejoin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Default value: True Determines whether the bot will always try to rejoin a channel whenever it's kicked from the channel. .. _supybot.plugins.Channel.public: supybot.plugins.Channel.public ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Default value: True Determines whether this plugin is publicly visible.