grim/purple-spasm

add the channel:moderation scope

2022-02-28, Gary Kramlich
ca9c17d5becc
Parents e89e21302de6
Children 2a1c4ada8b4a
add the channel:moderation scope
--- a/src/spasm-const.h Mon Feb 28 21:43:45 2022 -0600
+++ b/src/spasm-const.h Mon Feb 28 21:53:34 2022 -0600
@@ -30,7 +30,7 @@
#define SPASM_CONTENT_TYPE "application/vnd.twitchtv.v5+json"
#define SPASM_OAUTH2_CLIENT_ID "w7le4wyxwbipv6kf5qmqogwkqskl12"
-#define SPASM_OAUTH2_SCOPES "user:read:email chat:read chat:edit"
+#define SPASM_OAUTH2_SCOPES "user:read:email chat:read chat:edit channel:moderate"
#define SPASM_OAUTH2_REDIRECT_URI "https://pidgin.im/oauth.html"
#define SPASM_OAUTH2_URI "https://id.twitch.tv/oauth2/authorize?" \
"response_type=token&" \