Documentation ¶
Index ¶
- Variables
- func CommonEvents(_ *discordgo.Session, _ *discordgo.Ready)
- func GuildCreate(s *discordgo.Session, g *discordgo.GuildCreate)
- func GuildDelete(_ *discordgo.Session, g *discordgo.GuildDelete)
- func OnBotPing(s *discordgo.Session, m *discordgo.MessageCreate)
- func StatusReady(s *discordgo.Session, _ *discordgo.Ready)
- func UpdateDailyScheduleWebhooks()
- func VoiceRoleHandler(s *discordgo.Session, v *discordgo.VoiceStateUpdate)
- func WriteEvents(s *discordgo.Session, _ *discordgo.Ready)
- type Block
- type GuildIdsStruct
Constants ¶
This section is empty.
Variables ¶
View Source
var GuildIds = &GuildIdsStruct{ Ids: make(map[string]bool), }
Functions ¶
func GuildCreate ¶
func GuildCreate(s *discordgo.Session, g *discordgo.GuildCreate)
GuildCreate Handles BOT joining a server
func GuildDelete ¶
func GuildDelete(_ *discordgo.Session, g *discordgo.GuildDelete)
GuildDelete logs BOT leaving a server
func OnBotPing ¶
func OnBotPing(s *discordgo.Session, m *discordgo.MessageCreate)
OnBotPing Prints fluff message on bot ping
func UpdateDailyScheduleWebhooks ¶
func UpdateDailyScheduleWebhooks()
func VoiceRoleHandler ¶
func VoiceRoleHandler(s *discordgo.Session, v *discordgo.VoiceStateUpdate)
VoiceRoleHandler toggles a role whenever a user join/leave the specified voice channel
Types ¶
type GuildIdsStruct ¶
Click to show internal directories.
Click to hide internal directories.