Initial commit.

This commit is contained in:
2020-07-16 06:24:19 +00:00
commit ec780df92f
15 changed files with 735 additions and 0 deletions

15
cmd/urizen/main.go Normal file
View File

@ -0,0 +1,15 @@
package main
import (
"git.annabunch.es/annabunches/urizen/internal/rolereactions"
"git.annabunch.es/annabunches/urizen/lib/discord"
"github.com/spf13/viper"
)
func main() {
viper.AutomaticEnv()
session := discord.InitServer(viper.GetString("DISCORD_AUTH_TOKEN"))
rolereactions.Init(session, viper.GetString("ROLE_REACTIONS_CONFIG_FILE"))
discord.RunServer()
}