<title>fix(grfn/bbbg): Fill in the right organizer role ID</title>
<updated>2022-01-29T17:54:12+00:00</updated>
<author>
<name>Griffin Smith</name>
<email>grfn@gws.fyi</email>
...</author>
<published>2022-01-29T17:48:31+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=acd472866180897f9b892ec3e772d18f621f864f"/>
<id>urn:sha1:acd472866180897f9b892ec3e772d18f621f864f</id>
<content type="text">
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
</content>