fix(grfn/bbbg): Fill in the right organizer role ID
I figured this out by opening discord in my browser, navigating to the "roles" section of the server settings page, and looking at the API response for https://discord.com/api/v9/guilds/<guild-id>/roles/member-counts - the Organizer role has a unique member count, so I could sniff out its role ID by looking at the JSON. There *might* be a way in the API to do this, but I couldn't find it in the docs. Change-Id: Idac72886b12d53a570b473b55ef0cf7f965d37f2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5116 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
ddc33e849f
commit
acd4728661
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@
|
||||||
{::client-id (secret "bbbg/discord-client-id")
|
{::client-id (secret "bbbg/discord-client-id")
|
||||||
::client-secret (secret "bbbg/discord-client-secret")
|
::client-secret (secret "bbbg/discord-client-secret")
|
||||||
::bbbg-guild-id "841295283564052510"
|
::bbbg-guild-id "841295283564052510"
|
||||||
;; TODO this might not be the right id
|
::bbbg-organizer-role "908428000817725470"}))
|
||||||
::bbbg-organizer-role "874846495873040395"}))
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue