Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemberCommands ¶
type MemberCommands struct {
// contains filtered or unexported fields
}
MemberCommands contains the tm!role command and welcome messages
func NewMemberCommand ¶
func NewMemberCommand(conn db.Database) *MemberCommands
NewMemberCommand gives a new MemberCommands
func (*MemberCommands) Info ¶
func (m *MemberCommands) Info() []command.Command
Info return the commands in this package
func (*MemberCommands) InstallSlashCommands ¶
func (m *MemberCommands) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
func (*MemberCommands) Register ¶
func (m *MemberCommands) Register(registry command.Registry, server command.Server)
Register registers the handlers
func (*MemberCommands) SendRoleDM ¶
func (m *MemberCommands) SendRoleDM(s *discordgo.Session, guildID, userID string)
SendRoleDM sends a role selection DM to the user
Click to show internal directories.
Click to hide internal directories.