manager

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

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 Reconnect

func Reconnect() (err error)

Reconnect 重建链接

func ReconnectUsingChan

func ReconnectUsingChan()

ReconnectUsingChan pass

func SendMessageToTestChannel

func SendMessageToTestChannel(session *kook.Session, content string)

SendMessageToTestChannel is a async handler for message event

@param session
@param content

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL