mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
docs/t/services-api: mention ServiceBot.join()
This commit is contained in:
parent
c4e0923fb5
commit
4f3fa04cde
@ -35,9 +35,9 @@ Should you want to get the UID of a service bot on a specific server, use `myser
|
|||||||
|
|
||||||
### Setting channels to join
|
### Setting channels to join
|
||||||
|
|
||||||
All services bots wil automatically join the autojoin channels configured for a specific network, if any.
|
All services bots will automatically join the autojoin channels configured for a specific network, if any.
|
||||||
|
|
||||||
However, plugins can modify the autojoin entries of a specific bot by adding items to the `myservice.extra_channels` channel set. After sending `irc.proto.join(...)` using the service bot's UID as a source, the bot should permanently remain on that channel throughout KILLs or disconnects.
|
However, plugins can persistently join services bots to specific channels by calling `myservice.join(irc, channels)`. To manually add/remove channels from the service's autojoin list, modify the `myservice.extra_channels` set.
|
||||||
|
|
||||||
## Removing services on unload
|
## Removing services on unload
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user