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