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