Documentation
¶
Index ¶
- func AddAllHandler()
- func ChannelJoinedAsyncHandler(kookCtx *kook.GuildChannelMemberAddContext)
- func ChannelLeftAsyncHandler(kookCtx *kook.GuildChannelMemberDeleteContext)
- func ClickEventAsyncHandler(kookCtx *kook.MessageButtonClickContext)
- func CommandHandler(baseCtx context.Context, kookCtx *kook.KmarkdownMessageContext)
- func MessageEventAsyncHandler(kookCtx *kook.KmarkdownMessageContext)
- func Reconnect() (err error)
- func ReconnectUsingChan()
- func SendMessageToTestChannel(session *kook.Session, content string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAllHandler ¶
func AddAllHandler()
func ChannelJoinedAsyncHandler ¶
func ChannelJoinedAsyncHandler(kookCtx *kook.GuildChannelMemberAddContext)
ChannelJoinedAsyncHandler is a async handler for channel joined event
@param ctx
func ChannelLeftAsyncHandler ¶
func ChannelLeftAsyncHandler(kookCtx *kook.GuildChannelMemberDeleteContext)
ChannelLeftAsyncHandler is a async handler for channel left event
@param ctx
func ClickEventAsyncHandler ¶
func ClickEventAsyncHandler(kookCtx *kook.MessageButtonClickContext)
ClickEventAsyncHandler is a async handler for click event
@param ctx
func CommandHandler ¶
func CommandHandler(baseCtx context.Context, kookCtx *kook.KmarkdownMessageContext)
CommandHandler is a async handler for command event
@param ctx
func MessageEventAsyncHandler ¶
func MessageEventAsyncHandler(kookCtx *kook.KmarkdownMessageContext)
MessageEventAsyncHandler is a async handler for message event
@param ctx
func SendMessageToTestChannel ¶
SendMessageToTestChannel is a async handler for message event
@param session @param content
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.