scopes as env var
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
This commit is contained in:
parent
eba7f16374
commit
bbc497bdb9
@ -4,6 +4,7 @@
|
||||
- Enhancement: Added some refreshing new fonts (sora & atkison hyperlegible)
|
||||
- Enhancement: all table cells no longer wrap text
|
||||
- Fix: fixed a padding issue with link-style buttons in table cells
|
||||
- Enhancement: `DISCORD_SCOPES` as env var, rather than hard coded
|
||||
- Other: added license file
|
||||
|
||||
**v0.3.2**
|
||||
|
@ -137,7 +137,7 @@ AUTHENTICATION_BACKENDS = [
|
||||
BOT_TOKEN = env("BOT_TOKEN", default=None)
|
||||
DISCORD_KEY = env("DISCORD_KEY", default=None)
|
||||
DISCORD_SECRET = env("DISCORD_SECRET", default=None)
|
||||
DISCORD_SCOPES = ["identify", "guilds"]
|
||||
DISCORD_SCOPES = env("DISCORD_SCOPES", default="identity,guilds").split(",") # ["identify", "guilds"]
|
||||
DISCORD_CODE_EXCHANGE_REQUEST = {
|
||||
"headers": {"Content-Type": "application/x-www-form-urlencoded"},
|
||||
"data": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user