24 lines
763 B
Go
24 lines
763 B
Go
package fun
|
|
|
|
import (
|
|
"velox-bot/internal/commands/fun/public"
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
)
|
|
|
|
// Commands
|
|
var (
|
|
Ping *discordgo.ApplicationCommand = public.Ping
|
|
Joke *discordgo.ApplicationCommand = public.Joke
|
|
Coinflip *discordgo.ApplicationCommand = public.Coinflip
|
|
Dice *discordgo.ApplicationCommand = public.Dice
|
|
)
|
|
|
|
// Handlers
|
|
func PingHandler(s *discordgo.Session, i *discordgo.InteractionCreate) { public.PingHandler(s, i) }
|
|
func JokeHandler(s *discordgo.Session, i *discordgo.InteractionCreate) { public.JokeHandler(s, i) }
|
|
func CoinflipHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|
public.CoinflipHandler(s, i)
|
|
}
|
|
func DiceHandler(s *discordgo.Session, i *discordgo.InteractionCreate) { public.DiceHandler(s, i) }
|