Lynxie/main.go
Fluffy-Bean b93820e9d0 Move message handler to own function
Move intents into the config
Reindent files with spaces
2025-02-28 00:34:09 +00:00

22 lines
366 B
Go

package main
import (
"os"
"github.com/Fluffy-Bean/lynxie/app"
"github.com/Fluffy-Bean/lynxie/commands"
"github.com/bwmarrin/discordgo"
)
func main() {
a := app.NewApp(app.Config{
Prefix: "?",
Token: os.Getenv("TOKEN"),
Intents: discordgo.IntentsGuildMessages,
})
commands.RegisterMetaCommands(a)
commands.RegisterTinyfoxCommands(a)
a.Run()
}