members

package
v0.0.0-...-82e9c16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberCommands

type MemberCommands struct{}

MemberCommands contains the tm!role command and welcome messages

func NewMemberCommand

func NewMemberCommand() *MemberCommands

NewMemberCommand gives a new MemberCommands

func (*MemberCommands) Info

func (m *MemberCommands) Info() []command.Command

Info return the commands in this package

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, userID string)

SendRoleDM sends a role selection DM to the user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL