add galtinn active and member roles

This commit is contained in:
Leander Furumo committed 2024-04-19 19:50:40 +02:00
1 parent cb234764af
commit b537a9fd30
2 files changed
+7

No files matched your search

+3
View File
@@ -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_ACTIVE=
BOT_EMOJI_ONLINE="<:online:516328785910431754>"
BOT_EMOJI_IDLE="<:idle:516328783347843082>"
BOT_EMOJI_DND="<:dnd:516328782844395579>"
+4
View File
@@ -30,6 +30,10 @@ class Bot(commands.Bot):
"redirect_uri": os.environ.get("GALTINN_REDIRECT_URI"),
"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"),
}
self.guild_id = os.environ.get("BOT_DEV_GUILD", 1162158668079444199)