fix .env.example and discord-bot env

This commit is contained in:
41666 2020-12-02 18:23:52 -05:00
parent 00f0741e8b
commit 460770407a
2 changed files with 9 additions and 3 deletions

View file

@ -10,11 +10,11 @@ import (
)
var (
botToken = common.Getenv("DISCORD_BOT_TOKEN").String()
botClientID = common.Getenv("DISCORD_CLIENT_ID").String()
botToken = common.Getenv("BOT_TOKEN").String()
botClientID = common.Getenv("BOT_CLIENT_ID").String()
rootUsers = common.Getenv("ROOT_USERS").StringSlice()
allowedBots = common.Getenv("ALLOWED_BOTS").StringSlice()
appURL = common.Getenv("PUBLIC_URL").String()
appURL = common.Getenv("UI_PUBLIC_URI").SafeURL()
selfMention = bot.MentionMatcher(botClientID)
)