It will be called **once** for each plugin, when that plugin is first loaded. _fq_name = f " " async def init ( self ) -> None : """Initialize plugin This method can be implemented by concrete plugin classes. """ _client : SlackClient storage : PluginStorage settings : CaseInsensitiveDict _fq_name : str def _init_ ( self, client : SlackClient, settings : CaseInsensitiveDict, storage : PluginStorage ): self. It provides a lot of common functionality and convenience methods for plugins to interact with channels and users :var settings: Slack Machine settings object that contains all settings that were defined through ``local_settings.py`` Plugin developers can use any settings that are defined by the user, and ask users to add new settings specifically for their plugin. It acts as a marker-class so Slack Machine can recognize plugins as such 2. You may need to reinstall the Slack app for changes to take effect. If you don’t want to manually invite the bot to every channel, you can update this setting in the Integrations tab on the settings page. If the bot is not responding, make sure that you have invited the channel where you want the links resolved. The GoLinks bot only works in channels that it is invited to, which means it cannot resolve links in private or direct messages. If the link does not exist, it will notify just the user that posted the link with an ephemeral message that reads “The go link go/example does not exist.” The GoLinks bot will respond to any message that includes a go/link in its message. This article is meant to be used after both the Slack app and GoLinks bot have been downloaded. This article is meant to assist with explaining how to troubleshoot the GoLinks bot within the Slack app if any issues occur.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |