twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
72 stars 7 forks source link

EventSub suspicious user events wrong documentation #944

Open StimulCross opened 2 months ago

StimulCross commented 2 months ago

Brief description

First of all, the titles of Channel Suspicious User Message Event and Channel Suspicious User Update Event should be swaped.


The description of Channel Suspicious User Update Event types field says:

User types (if any) that apply to the suspicious user, can be “manual”, “ban_evader_detector”, or “shared_channel_ban”.

I get types: ['manually_added'] instead of types: ['manual']

{
    broadcaster_user_id: '200507196',
    broadcaster_user_name: 'StimulX',
    broadcaster_user_login: 'stimulx',
    user_id: 'id',
    user_name: 'name',
    user_login: 'login',
    low_trust_status: 'active_monitoring',
    shared_ban_channel_ids: null,
    types: ['manually_added'],
    ban_evasion_evaluation: 'unknown',
    message: {
      message_id: 'c4c76a5c-62c9-4a86-8cfc-5778b4b04c26',
      text: 'suspicious message BloodTrail with emotes and @StimulX mention',
      fragments: [
        {
          type: 'emote',
          text: 'BloodTrail',
          Cheermote: { prefix: '', bits: 0, tier: 0 },
          emote: { id: '69', emote_set_id: '0' }
        },
      ]
    }
 }

The description of Channel Suspicious User Message Event low_trust_status field says:

The status set for the suspicious user. Can be the following: “none”, “active_monitoring”, or “restricted”.

When I do /unmonitor <user> I get low_trust_status: 'no_treatment' instead of low_trust_status: 'none'.

{
    broadcaster_user_id: '200507196',
    broadcaster_user_name: 'StimulX',
    broadcaster_user_login: 'stimulx',
    moderator_user_id: '200507196',
    moderator_user_name: 'StimulX',
    moderator_user_login: 'stimulx',
    user_id: 'id',
    user_name: 'name',
    user_login: 'login',
    low_trust_status: 'no_treatment'
}

Please provide valid documentation for suspicious user events.