| 1 | # IRC |
| 2 | |
| 3 | - Status: Working |
| 4 | - Maintainers: @poVoq, @selfhoster1312 |
| 5 | - Features: ??? |
| 6 | |
| 7 | ## Configuration |
| 8 | |
| 9 | > [!TIP] |
| 10 | > For detailed information about irc settings, see [settings.md](settings.md) |
| 11 | |
| 12 | **Basic configuration example:** |
| 13 | |
| 14 | ```toml |
| 15 | [irc.myirc] |
| 16 | RemoteNickFormat="[{PROTOCOL}] <{NICK}> " |
| 17 | Server="irc.libera.chat:6667" |
| 18 | Nick="yourbotname" |
| 19 | Password="yourpassword" |
| 20 | # Enable SASL on modern servers like irc.libera.chat |
| 21 | # UseSASL=true |
| 22 | ``` |
| 23 | |
| 24 | ## FAQ |
| 25 | |
| 26 | ### How to connect to a password-protected channel? |
| 27 | |
| 28 | ```toml |
| 29 | [[gateway.inout]] |
| 30 | account="irc.myirc" |
| 31 | channel="#some-passworded-channel" |
| 32 | options = { key="password" } |
| 33 | ``` |
| 34 | |
| 35 | ### How to connect to OFTC-style NickServ |
| 36 | |
| 37 | ```toml |
| 38 | [irc.myirc] |
| 39 | Nick="yournick" |
| 40 | Server="irc.oftc.net:6697" |
| 41 | RunCommands=["PRIVMSG nickserv :IDENTIFY yourpass yournick"] |
| 42 | ``` |