.. _plugin:chan: ==== CHAN ==== | about ----- | :author: FeedBackLoop :contact: FREENODE/#fbf :distribution: core :license: | description ----------- | channel related commands. | commands -------- | :commands in this plugin: chan-allowcommand .. chan-upgrade .. chan-allowwatch .. chan-loud .. chan-allowplug .. join .. chan-denyplug .. chan-part .. chan-list .. chan-silent .. chan-mode .. part .. chan-silentcommand .. chan-loudcommand .. chan-del .. chan-join .. chan-withnotice .. chan-cycle .. chan-delwatch .. chan-enable .. chan-disable .. chan-withprivmsg .. chan-removecommand | 1) *chan-allowcommand .. [handle_chanallowcommand]* :description: allow a command in the channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-allowcommand_command`. :examples: :: ;chan-allowcommand learn done - chan-allowcommand 2) *chan-allowplug .. [handle_chanallowplug]* :description: arguments: - allow a plugin to be active in a channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-allowplug_command`. :examples: :: ;chan-denyplug idle done - chan-denyplug 3) *chan-allowwatch .. [handle_chanallowwatch]* :description: arguments: - add a target channel to the allowwatch list. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-allowwatch_command`. :examples: :: ;chan-allowwatch feedbackloop@gmail.com done - chan-allowwatch 4) *chan-cycle .. [handle_chancycle]* :description: no arguments - recycle channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-cycle_command`. :examples: :: ;chan-cycle cycling #test done - chan-cycle 5) *chan-del .. [handle_chandel]* :description: arguments: - remove channel from bot.state.data['joinedchannels']. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-del_command`. :examples: :: ;chan-del #mekker done - chan-del 6) *chan-delwatch .. [handle_chandelwatch]* :description: add a target channel to the allowout list. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-delwatch_command`. :examples: :: ;chan-delwatch feedbackloop@gmail.com done - chan-delwatch 7) *chan-denyplug .. [handle_chandenyplug]* :description: arguments: - deny a plugin to be active in a channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-denyplug_command`. :examples: :: ;chan-denyplug idle idle is already being denied in channel #test 8) *chan-disable .. [handle_chandisable]* :description: no arguments - enable current channel. :permissions: OPER .. USER :code: :ref:`fbf.plugs.core.chan_chan-disable_command`. :examples: :: ;chan-disable #test channel disabled 9) *chan-enable .. [handle_chanenable]* :description: no arguments - enable current channel. :permissions: OPER .. USER :code: :ref:`fbf.plugs.core.chan_chan-enable_command`. :examples: :: ;chan-enable #test channel enabled 10) *chan-join .. [handle_chanjoin]* :description: arguments: - join a channel/conference/wave :permissions: OPER .. JOIN :code: :ref:`fbf.plugs.core.chan_chan-join_command`. :examples: :: ;chan-join #test done - chan-join :: ;chan-join #test mekker done - chan-join 11) *chan-list .. [handle_chanlist]* :description: no arguments - channels .. show joined channels. :permissions: USER .. GUEST :code: :ref:`fbf.plugs.core.chan_chan-list_command`. :examples: :: ;chan-list no channels joined 12) *chan-loud .. [handle_chanloud]* :description: arguments: [] - enable output to the channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-loud_command`. :examples: :: ;chan-loud putting #test into loud mode done - chan-loud 13) *chan-loudcommand .. [handle_chanloudcommand]* :description: arguments: - allow output of a command in the channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-loudcommand_command`. :examples: :: ;chan-loudcommand learn learn is not in the silencelist 14) *chan-mode .. [handle_channelmode]* :description: arguments: [] - show channel mode. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-mode_command`. :examples: :: ;chan-mode channelmode only works on irc bots :: ;chan-mode #test channelmode only works on irc bots 15) *chan-part .. [handle_chanpart]* :description: arguments: [] - leave a channel (provided or current channel). :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-part_command`. :examples: :: ;chan-part leaving #test chan done - chan-part :: ;chan-part #test leaving #test chan done - chan-part 16) *chan-removecommand .. [handle_chanremovecommand]* :description: remove a command from the allowed list of a channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-removecommand_command`. :examples: :: ;chan-removecommand learn done - chan-removecommand 17) *chan-silent .. [handle_chansilent]* :description: arguments [] - set silent mode of channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-silent_command`. :examples: :: ;chan-silent putting #test to silent mode done - chan-silent 18) *chan-silentcommand .. [handle_chansilentcommand]* :description: arguments: - silence a command in the channel. /msg the result of a command. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-silentcommand_command`. :examples: :: ;chan-silentcommand learn done - chan-silentcommand 19) *chan-upgrade .. [handle_chanupgrade]* :description: no arguments - upgrade the channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-upgrade_command`. :examples: :: ;chan-upgrade can't find previous channel data 20) *chan-withnotice .. [handle_chanwithnotice]* :description: arguments: [] - make bot use notice in channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-withnotice_command`. :examples: :: ;chan-withnotice setting notice in #test done - chan-withnotice 21) *chan-withprivmsg .. [handle_chanwithprivmsg]* :description: arguments: [] - make bot use privmsg in channel. :permissions: OPER :code: :ref:`fbf.plugs.core.chan_chan-withprivmsg_command`. :examples: :: ;chan-withprivmsg setting privmsg in #test done - chan-withprivmsg 22) *join .. [handle_chanjoin]* :description: arguments: - join a channel/conference/wave 23) *part .. [handle_chanpart]* :description: arguments: [] - leave a channel (provided or current channel).