NukaNewsBot/commands/test.go

10 lines
256 B
Go

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