mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
fix .env.example and discord-bot env
This commit is contained in:
parent
00f0741e8b
commit
460770407a
2 changed files with 9 additions and 3 deletions
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue