Migrate /delete command to Helix API (#3999)
This commit is contained in:
@@ -887,6 +887,13 @@ void Helix::deleteChatMessages(
|
||||
}
|
||||
break;
|
||||
|
||||
case 400: {
|
||||
// These errors are generally well formatted, so we just forward them.
|
||||
// This is currently undocumented behaviour, see: https://github.com/twitchdev/issues/issues/660
|
||||
failureCallback(Error::Forwarded, message);
|
||||
}
|
||||
break;
|
||||
|
||||
case 403: {
|
||||
// 403 endpoint means the user does not have permission to perform this action in that channel
|
||||
// Most likely to missing moderator permissions
|
||||
|
||||
Reference in New Issue
Block a user