goMuffin/handler/interactionCreate.go

11 lines
265 B
Go

package handler
import (
"git.wh64.net/muffin/goMuffin/commands"
"github.com/bwmarrin/discordgo"
)
func InteractionCreate(s *discordgo.Session, i *discordgo.InteractionCreate) {
commands.Discommand.ChatInputRun(i.ApplicationCommandData().Name, s, i)
return
}