Documentation ¶
Index ¶
- type DiscordGoClient
- func (d *DiscordGoClient) Connect()
- func (d *DiscordGoClient) Disconnect()
- func (client *DiscordGoClient) GetOnMessageHandler() func(*discordgo.Session, *discordgo.MessageCreate)
- func (client *DiscordGoClient) GetOnReactionAddHandler() func(*discordgo.Session, *discordgo.MessageReactionAdd)
- func (client *DiscordGoClient) GetOnReactionRemoveHandler() func(*discordgo.Session, *discordgo.MessageReactionRemove)
- type DiscordGoClientParams
- type RoleCommandParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscordGoClient ¶
type DiscordGoClient struct { Session *discordgo.Session // contains filtered or unexported fields }
func GetClient ¶
func GetClient(params DiscordGoClientParams) *DiscordGoClient
func (*DiscordGoClient) Connect ¶
func (d *DiscordGoClient) Connect()
func (*DiscordGoClient) Disconnect ¶
func (d *DiscordGoClient) Disconnect()
func (*DiscordGoClient) GetOnMessageHandler ¶
func (client *DiscordGoClient) GetOnMessageHandler() func(*discordgo.Session, *discordgo.MessageCreate)
func (*DiscordGoClient) GetOnReactionAddHandler ¶
func (client *DiscordGoClient) GetOnReactionAddHandler() func(*discordgo.Session, *discordgo.MessageReactionAdd)
func (*DiscordGoClient) GetOnReactionRemoveHandler ¶
func (client *DiscordGoClient) GetOnReactionRemoveHandler() func(*discordgo.Session, *discordgo.MessageReactionRemove)
type DiscordGoClientParams ¶
type RoleCommandParams ¶
type RoleCommandParams struct { Session *discordgo.Session Message *discordgo.MessageCreate Client *DiscordGoClient Action string RoleName string EmojiName string Color int }
Click to show internal directories.
Click to hide internal directories.