10 lines
263 B
Go
10 lines
263 B
Go
|
package commands
|
||
|
|
||
|
import "github.com/bwmarrin/discordgo"
|
||
|
|
||
|
// HelloCommand handles the !hello command
|
||
|
func testCommand(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||
|
// Respond to the !hello command
|
||
|
_, _ = s.ChannelMessageSend(m.ChannelID, "Hello! test")
|
||
|
}
|