const authTokenEnvironName …
type DiscordServerSession …
func NewDiscordServerSession(ctx context.Context) *DiscordServerSession { … }
func (d *DiscordServerSession) ServerByID(id string) *DiscordGuild { … }
func (d *DiscordServerSession) ServerByName(name string) *DiscordGuild { … }
func (d *DiscordServerSession) Servers() (all []*DiscordGuild) { … }
func (d *DiscordServerSession) ServerByChannelID(id string) *DiscordGuild { … }
func (d *DiscordServerSession) Config() { … }
func (d *DiscordServerSession) Authenticate() error { … }
func (d *DiscordServerSession) Connect(ctx context.Context) error { … }
func (d *DiscordServerSession) Disconnect() { … }
func (d *DiscordServerSession) Messages() <-chan common.Message { … }
func (d *DiscordServerSession) Reactions() <-chan common.MessageReaction { … }
func (d *DiscordServerSession) Presences() <-chan common.PresenceUpdate { … }
func (d *DiscordServerSession) onServerConnect(s *discordgo.Session, r *discordgo.Ready) { … }
func (d *DiscordServerSession) onServerDisconnect(s *discordgo.Session, e *discordgo.Disconnect) { … }
func (d *DiscordServerSession) initializeServerKnowledge(s *discordgo.Session, r *discordgo.Ready) { … }
func (d *DiscordServerSession) InitalizeNewDiscordGuildConnection(ctx context.Context, s *discordgo.Session, guild *discordgo.Guild) *DiscordGuild { … }
func LoadChannelsForGuild(s *discordgo.Session, g *DiscordGuild) (clist map[string]common.Channel) { … }