mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-14 08:02:17 +00:00
23 lines
566 B
Go
23 lines
566 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/Fluffy-Bean/lynxie/internal/handler"
|
|
"github.com/Fluffy-Bean/lynxie/pkg/commands/debug"
|
|
"github.com/Fluffy-Bean/lynxie/pkg/commands/img"
|
|
"github.com/Fluffy-Bean/lynxie/pkg/commands/porb"
|
|
"github.com/Fluffy-Bean/lynxie/pkg/commands/tinyfox"
|
|
"github.com/bwmarrin/discordgo"
|
|
)
|
|
|
|
func main() {
|
|
bot := handler.NewBot(">", os.Getenv("TOKEN"), discordgo.IntentsGuildMessages)
|
|
|
|
debug.RegisterDebugCommands(bot)
|
|
img.RegisterImgCommands(bot)
|
|
tinyfox.RegisterTinyfoxCommands(bot)
|
|
porb.RegisterPorbCommands(bot)
|
|
|
|
bot.Run()
|
|
}
|