diff --git a/TwitchLib.Api.Core.Enums/AuthScopesEnum.cs b/TwitchLib.Api.Core.Enums/AuthScopesEnum.cs index 7edc8c27..ae8008d7 100644 --- a/TwitchLib.Api.Core.Enums/AuthScopesEnum.cs +++ b/TwitchLib.Api.Core.Enums/AuthScopesEnum.cs @@ -13,7 +13,7 @@ public enum AuthScopes Channel_Subscriptions, Chat_Read, Chat_Edit, - Chat_Moderate, + Channel_Moderate, Collections_Edit, Communities_Edit, Communities_Moderate, diff --git a/TwitchLib.Api.Core/Common/Helpers.cs b/TwitchLib.Api.Core/Common/Helpers.cs index e8ed9e81..c10409b2 100644 --- a/TwitchLib.Api.Core/Common/Helpers.cs +++ b/TwitchLib.Api.Core/Common/Helpers.cs @@ -38,8 +38,8 @@ public static string AuthScopesToString(AuthScopes scope) return "channel_feed_read"; case AuthScopes.Chat_Read: return "chat:read"; - case AuthScopes.Chat_Moderate: - return "chat:moderate"; + case AuthScopes.Channel_Moderate: + return "channel:moderate"; case AuthScopes.Chat_Edit: return "chat:edit"; case AuthScopes.Channel_Read: diff --git a/TwitchLib.Api/ThirdParty/AuthorizationFlow/PingResponse.cs b/TwitchLib.Api/ThirdParty/AuthorizationFlow/PingResponse.cs index a7801a29..c7184e5a 100644 --- a/TwitchLib.Api/ThirdParty/AuthorizationFlow/PingResponse.cs +++ b/TwitchLib.Api/ThirdParty/AuthorizationFlow/PingResponse.cs @@ -68,7 +68,7 @@ private AuthScopes StringToScope(string scope) case "chat:edit": return AuthScopes.Chat_Edit; case "chat:moderate": - return AuthScopes.Chat_Moderate; + return AuthScopes.Channel_Moderate; case "channel_editor": return AuthScopes.Channel_Editor; case "channel_feed_read":