feat: add /warn command (#5474)

This commit is contained in:
iProdigy
2024-06-22 05:36:29 -05:00
committed by GitHub
parent c980162656
commit c01bfcfffe
10 changed files with 381 additions and 43 deletions
+10
View File
@@ -326,6 +326,16 @@ public:
(FailureCallback<HelixBanUserError, QString> failureCallback)),
(override)); // /timeout, /ban
// /warn
// The extra parenthesis around the failure callback is because its type
// contains a comma
MOCK_METHOD(
void, warnUser,
(QString broadcasterID, QString moderatorID, QString userID,
QString reason, ResultCallback<> successCallback,
(FailureCallback<HelixWarnUserError, QString> failureCallback)),
(override)); // /warn
// /w
// The extra parenthesis around the failure callback is because its type
// contains a comma