Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectBotAlreadyConnectedTemplate = "The bot account is already connected to %s account `%s`. To connect to a different account, first run `/%s disconnect_bot`." ConnectBotSuccessTemplate = "[Click here to link the bot's %s account.](%s/oauth2/connect_bot)" ConnectAlreadyConnectedTemplate = "" /* 127-byte string literal not displayed */ ConnectErrorMessage = "There has been a problem while trying to connect. err=" )
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(client *pluginapilicense.Client) error
Register should be called by the plugin to register all necessary commands
Types ¶
type Command ¶
type Command struct { MSCalendar mscalendar.MSCalendar Context *plugin.Context Args *model.CommandArgs Config *config.Config ChannelID string }
Handler handles commands
Click to show internal directories.
Click to hide internal directories.