Documentation ¶
Index ¶
- type ChWithVss
- type Session
- type Utility
- func (u *Utility) Channels2IDs(chs []*dg.Channel) []string
- func (u *Utility) Channels2Names(chs []*dg.Channel) []string
- func (u *Utility) FilterChannelsByType(chs []*dg.Channel, tp dg.ChannelType) []*dg.Channel
- func (u *Utility) GetMostPeopleVCh(vchs []*dg.Channel, vss []*dg.VoiceState) (*dg.Channel, error)
- func (u *Utility) PackChannelsAndVoiceStates(vchs []*dg.Channel, vss []*dg.VoiceState) ([]*ChWithVss, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
func (*Session) ChannelUnsafe ¶
func (Session) GetSameGuildChannels ¶
func (*Session) IsMentionedMessage ¶
func (s *Session) IsMentionedMessage(m *dg.MessageCreate) bool
type Utility ¶
type Utility struct { }
func (*Utility) FilterChannelsByType ¶
func (*Utility) GetMostPeopleVCh ¶
func (*Utility) PackChannelsAndVoiceStates ¶
Click to show internal directories.
Click to hide internal directories.