Documentation ¶
Index ¶
- type CacheInviteInformation
- type Mod
- func (m *Mod) Action(command string, content string, msg *discordgo.Message, ...)
- func (m *Mod) Commands() []string
- func (m *Mod) GetJoins(userID string, guildID string) (joins []models.ModJoinlogEntry, err error)
- func (m *Mod) Init(session *shardmanager.Manager)
- func (m *Mod) Min(a, b int) int
- func (m *Mod) OnGuildBanAdd(user *discordgo.GuildBanAdd, session *discordgo.Session)
- func (m *Mod) OnGuildBanRemove(user *discordgo.GuildBanRemove, session *discordgo.Session)
- func (m *Mod) OnGuildMemberAdd(member *discordgo.Member, session *discordgo.Session)
- func (m *Mod) OnGuildMemberRemove(member *discordgo.Member, session *discordgo.Session)
- func (m *Mod) OnMessage(content string, msg *discordgo.Message, session *discordgo.Session)
- func (m *Mod) OnMessageDelete(msg *discordgo.MessageDelete, session *discordgo.Session)
- func (m *Mod) OnReactionAdd(reaction *discordgo.MessageReactionAdd, session *discordgo.Session)
- func (m *Mod) OnReactionRemove(reaction *discordgo.MessageReactionRemove, session *discordgo.Session)
- func (m *Mod) Uninit(session *shardmanager.Manager)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInviteInformation ¶
type Mod ¶
type Mod struct {
// contains filtered or unexported fields
}
func (*Mod) Init ¶
func (m *Mod) Init(session *shardmanager.Manager)
func (*Mod) OnGuildBanAdd ¶
func (m *Mod) OnGuildBanAdd(user *discordgo.GuildBanAdd, session *discordgo.Session)
func (*Mod) OnGuildBanRemove ¶
func (m *Mod) OnGuildBanRemove(user *discordgo.GuildBanRemove, session *discordgo.Session)
func (*Mod) OnGuildMemberAdd ¶
func (*Mod) OnGuildMemberRemove ¶
func (*Mod) OnMessageDelete ¶
func (m *Mod) OnMessageDelete(msg *discordgo.MessageDelete, session *discordgo.Session)
func (*Mod) OnReactionAdd ¶
func (m *Mod) OnReactionAdd(reaction *discordgo.MessageReactionAdd, session *discordgo.Session)
func (*Mod) OnReactionRemove ¶
func (m *Mod) OnReactionRemove(reaction *discordgo.MessageReactionRemove, session *discordgo.Session)
func (*Mod) Uninit ¶
func (m *Mod) Uninit(session *shardmanager.Manager)
Click to show internal directories.
Click to hide internal directories.