Documentation
¶
Index ¶
- func CheckVersion(currentVersion string)
- func Clear()
- func FindVoiceChannel(userID string) string
- func GetGuild(channelID string) (string, error)
- func GetYoutubeAPIKey() string
- func HumanReadableNumber[T number](number T) string
- func SendDirectMessage(m *discordgo.MessageCreate, content string) (*discordgo.Message, error)
- func SendMessageFailure(m *discordgo.MessageCreate, content string) (*discordgo.Message, error)
- func SendMessageNeutral(m *discordgo.MessageCreate, content string) (*discordgo.Message, error)
- func SendMessageSuccess(m *discordgo.MessageCreate, content string) (*discordgo.Message, error)
- func ValidateYoutubeAPIKey() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckVersion ¶
func CheckVersion(currentVersion string)
func FindVoiceChannel ¶
FindVoiceChannel finds the voice channel containing a specific user by their discord ID
func GetYoutubeAPIKey ¶
func GetYoutubeAPIKey() string
func HumanReadableNumber ¶
func HumanReadableNumber[T number](number T) string
HumanReadableNumber - turns 100000 into 100,000. Making it much easier to read. Accepts both uint64 and int
func SendDirectMessage ¶
SendDirectMessage will send a direct messag to a user
func SendMessageFailure ¶
func SendMessageNeutral ¶
func SendMessageSuccess ¶
func ValidateYoutubeAPIKey ¶
func ValidateYoutubeAPIKey() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.