Difference between revisions of "IRC.php"

From Bebot Wiki 2
Jump to navigationJump to search
Line 25: Line 25:
 
|!irc    | channelkey| <password>  |Uses <password> to connect to a locked channel.                        |Owner    |Owner    |Owner    |
 
|!irc    | channelkey| <password>  |Uses <password> to connect to a locked channel.                        |Owner    |Owner    |Owner    |
 
|!irc    | nick      | <nickname>  |Changes the bot's name to <nickname>                                    |Owner    |Owner    |Owner    |
 
|!irc    | nick      | <nickname>  |Changes the bot's name to <nickname>                                    |Owner    |Owner    |Owner    |
|!irc    | port     | <portnumber> |Chooses the port that will be used to connect to the irc server         |Owner    |Owner    |Owner    |
+
|!irc    | oauthtok     | <oauth:xyz123> |Sets the OAuth Token the bot will use to connect to server       |Owner    |Owner    |Owner    |
 
</pre>
 
</pre>
  
Line 32: Line 32:
 
  - When specifying the channel the # is NOT OPTIONAL.
 
  - When specifying the channel the # is NOT OPTIONAL.
 
</sub>
 
</sub>
 
  
 
==== Related commands ====
 
==== Related commands ====

Revision as of 15:35, 1 August 2021

IRC.php (incomplete)

Description

This module allows the bot to connect to and interact with members on an Internet Relay Chat channel.


Features

 * Shows guild-chat and (optionally) pg-chat in the IRC-channel
 * Shows IRC-chat in guild-chat and (optionally) in pg-chat.

Note:\\

- Relaying between guilds via IRC is depreciated. Please use the relay feature of the bot.


Commands provided
^Command  ^ Keyword   ^Argument(s)   ^Description                                                             ^Tell      ^Guild     ^Priv      ^
|!irc     | server    | <servername> |Selects the irc server <servername> as the one the bot will connect to. |Owner     |Owner     |Owner     |
|!irc     | port      | <portnumber> |Chooses the port that will be used to connect to the irc server         |Owner     |Owner     |Owner     |
|!irc     | channel   |#<channelname>|Selects the channel the bot will use when connected.                    |Owner     |Owner     |Owner     |
|!irc     | channelkey| <password>   |Uses <password> to connect to a locked channel.                         |Owner     |Owner     |Owner     |
|!irc     | nick      | <nickname>   |Changes the bot's name to <nickname>                                    |Owner     |Owner     |Owner     |
|!irc     | oauthtok      | <oauth:xyz123> |Sets the OAuth Token the bot will use to connect to server        |Owner     |Owner     |Owner     |

Notes to table:\\

- When specifying the channel the # is NOT OPTIONAL.

Related commands

 * **!related command** - How is this command related?


Module settings
^Setting       ^Default   ^Description                                              ^
|Setting_one   |SomeValue |Now tell me what does this setting do?                   |

Notes to table:\\

- Things to observe when reading the table

Module colors
^Scheme name   ^Default   ^
|name_of_scheme|colorname |
Notes
 * Notes to the module