Documentation ¶
Index ¶
- func GetChannel(ds *discordgo.Session, channelId string) *discordgo.Channel
- func GetFromUrl(url string) ([]byte, error)
- func GetGuild(ds *discordgo.Session, guildId string) *discordgo.Guild
- func GetIntent() discordgo.Intent
- func RegisterCommand(cmd string, commandFunc CommandFunc)
- func RegisterIntentNeed(neededIntents ...discordgo.Intent)
- type CommandFunc
- type Module
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromUrl ¶
func RegisterCommand ¶
func RegisterCommand(cmd string, commandFunc CommandFunc)
func RegisterIntentNeed ¶
Types ¶
type CommandFunc ¶
type CommandFunc func(session *discordgo.Session, message *discordgo.MessageCreate, cmd string, args []string)
func GetCommand ¶
func GetCommand(cmd string) CommandFunc
Click to show internal directories.
Click to hide internal directories.