Documentation ¶
Index ¶
- Variables
- type Activity
- func (a *Activity) EnsureLogChannel(session *discordgo.Session, guildId string) (string, error)
- func (a *Activity) Record(session *discordgo.Session, guildId, message string)
- func (a *Activity) TrackUser(user *discordgo.User) *TrackedUserState
- func (a *Activity) VoiceStateUpdated(session *discordgo.Session, update *discordgo.VoiceStateUpdate)
- type TrackedUserState
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoActivityLogChannel = errors.New("no activity log channel")
)
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func (*Activity) EnsureLogChannel ¶
func (*Activity) VoiceStateUpdated ¶
func (a *Activity) VoiceStateUpdated(session *discordgo.Session, update *discordgo.VoiceStateUpdate)
type TrackedUserState ¶
type TrackedUserState struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.