From 4f3fa04cded25c348b1e17725bb72da77b9fcf70 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 16 Oct 2016 18:48:29 -0700 Subject: [PATCH] docs/t/services-api: mention ServiceBot.join() --- docs/technical/services-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/technical/services-api.md b/docs/technical/services-api.md index 2648bd6..1a60281 100644 --- a/docs/technical/services-api.md +++ b/docs/technical/services-api.md @@ -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 -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