Add docs/help/channels.md

This commit is contained in:
jesopo 2019-07-03 11:26:20 +01:00
parent 7919b01baf
commit 330a746027

21
docs/help/channels.md Normal file
View file

@ -0,0 +1,21 @@
## Channels
BitBot responds to `/invite`s sent to him. If you invite him to a channel with a password (`+k` channel mode) he will record the key and use it in the future. If you change the key and he sees you doing it, he'll update his records to use the new key in future.
### +k channels with no /invite bypass
Some networks do not allow `/invite`d users to bypass channel passwords - thus BitBot can't join without a key and then record the key. There's two things you can do to fix this.
`/msg &lt;bot> config channel:#channel key <password here>`
- or -
`/msg &lt;bot> raw JOIN #channel :key here`
After using either of these to get BitBot initially in to a channel, he will go about recording and updating the channel's key as described above.
### Disabling join-on-invite
`/msg &lt;bot> config server accept-invites off`
### Perform commands on join
From the channel you wish him to perform commands for, do:
`!cperform add PRIVMSG {CHAN} :hello, I'm {NICK}`