use correct env names for hardcoded roles
This commit is contained in:
3 files changed
+6
-3
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ BOT_PRESENCE_ACTIVITY=watching
|
||||
BOT_PRESENCE_STATUS=dnd
|
||||
|
||||
BOT_GALTINN_ROLE_MEMBER=
|
||||
BOT_GALTINN_ROLE_ACTIVE=
|
||||
BOT_GALTINN_ROLE_VOLUNTEER=
|
||||
|
||||
BOT_EMOJI_ONLINE="<:online:516328785910431754>"
|
||||
BOT_EMOJI_IDLE="<:idle:516328783347843082>"
|
||||
|
||||
@@ -7,6 +7,9 @@ BOT_PRESENCE_MESSAGE="out for expiring memberships"
|
||||
BOT_PRESENCE_ACTIVITY=watching
|
||||
BOT_PRESENCE_STATUS=dnd
|
||||
|
||||
BOT_GALTINN_ROLE_MEMBER=
|
||||
BOT_GALTINN_ROLE_VOLUNTEER=
|
||||
|
||||
BOT_EMOJI_ONLINE=<:online:516328785910431754>
|
||||
BOT_EMOJI_IDLE=<:idle:516328786046337792>
|
||||
BOT_EMOJI_DND<:dnd:516328786035955200>
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@ class Bot(commands.Bot):
|
||||
"auth_token": os.environ.get("GALTINN_AUTH_TOKEN"),
|
||||
}
|
||||
self.galtinn_roles = {
|
||||
"member": os.environ.get("GALTINN_MEMBER_ROLE"),
|
||||
"volunteer": os.environ.get("GALTINN_VOLUNTEER_ROLE"),
|
||||
"member": os.environ.get("BOT_GALTINN_ROLE_MEMBER"),
|
||||
"volunteer": os.environ.get("BOT_GALTINN_ROLE_VOLUNTEER"),
|
||||
}
|
||||
|
||||
self.guild_id = os.environ.get("BOT_DEV_GUILD", 1162158668079444199)
|
||||
|
||||
Reference in new issue
Block a user