mentions

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MentionsCommand

type MentionsCommand struct {
	// contains filtered or unexported fields
}

MentionsCommand handles the /mentions command.

func NewMentionsCommand

func NewMentionsCommand(log *logrus.Logger, bot common.BotContext) *MentionsCommand

NewMentionsCommand creates a new MentionsCommand.

func (*MentionsCommand) Handle

Handle handles the /mentions command.

func (*MentionsCommand) Name

func (c *MentionsCommand) Name() string

Name returns the name of the command.

func (*MentionsCommand) Register

func (c *MentionsCommand) Register(session *discordgo.Session) error

Register registers the /mentions command with the given discord session.

Jump to

Keyboard shortcuts

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