Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloCommand ¶
type HelloCommand struct{}
HelloCommand contains the tm!hello command
func NewHelloCommand ¶
func NewHelloCommand() *HelloCommand
NewHelloCommand gives a new HelloCommand
func (*HelloCommand) Info ¶
func (h *HelloCommand) Info() []command.Command
Info return the commands in this package
func (*HelloCommand) InstallSlashCommands ¶
func (h *HelloCommand) InstallSlashCommands(session *discordgo.Session) error
InstallSlashCommands registers the slash commands
func (*HelloCommand) Register ¶
func (h *HelloCommand) Register(registry command.Registry, server command.Server)
Register registers the handlers
func (*HelloCommand) SayHello ¶
func (h *HelloCommand) SayHello(s *discordgo.Session, i *discordgo.InteractionCreate)
SayHello sends an hello message
Click to show internal directories.
Click to hide internal directories.