Anarchy icon indicating copy to clipboard operation
Anarchy copied to clipboard

[Request] Add Report Spam Feature

Open ghost opened this issue 3 years ago • 7 comments

image

ghost avatar Sep 15 '21 04:09 ghost

I haven't seen this before. Can you give me a little more information?

not-ilinked avatar Sep 15 '21 06:09 not-ilinked

@not-ilinked ill provide sniff if you like its when u block a new account

ghost avatar Sep 15 '21 07:09 ghost

How new does the account have to be?

not-ilinked avatar Sep 15 '21 09:09 not-ilinked

image

image

image

ghost avatar Sep 16 '21 02:09 ghost

@not-ilinked it shows when someones first dm has a link pretty sure after u block them

ghost avatar Sep 16 '21 02:09 ghost

if you don't want to type it out

GET https://discord.com/api/v9/reporting/menu/first_dm Response:

{
  "name": "first_dm",
  "variant": "1",
  "version": "1.0",
  "postback_url": "/api/reporting/first_dm",
  "root_node_id": 25,
  "success_node_id": 7,
  "fail_node_id": 8,
  "nodes": {
    "7": {
      "id": 7,
      "header": "Report Submitted",
      "subheader": "Thank you for letting Trust & Safety know about this issue. Your feedback helps keep Discord safe.",
      "info": null,
      "button": {
        "type": "done",
        "target": null
      },
      "elements": [
        {
          "name": "success",
          "type": "success",
          "data": null,
          "should_submit_data": false
        },
        {
          "name": "block_users",
          "type": "block_users",
          "data": null,
          "should_submit_data": false
        }
      ],
      "report_type": null,
      "children": []
    },
    "8": {
      "id": 8,
      "header": "There was an error trying to submit this report. Please try again!",
      "subheader": null,
      "info": null,
      "button": {
        "type": "done",
        "target": null
      },
      "elements": [
        {
          "name": "fail",
          "type": "fail",
          "data": null,
          "should_submit_data": false
        }
      ],
      "report_type": null,
      "children": []
    },
    "11": {
      "id": 11,
      "header": "Report Summary",
      "subheader": "Review your report before submitting.",
      "info": null,
      "button": {
        "type": "submit",
        "target": null
      },
      "elements": [
        {
          "name": "message_preview",
          "type": "message_preview",
          "data": null,
          "should_submit_data": false
        },
        {
          "name": "breadcrumbs",
          "type": "breadcrumbs",
          "data": null,
          "should_submit_data": false
        }
      ],
      "report_type": null,
      "children": []
    },
    "25": {
      "id": 25,
      "header": "Report Summary",
      "subheader": "Review your report before submitting.",
      "info": null,
      "button": {
        "type": "submit",
        "target": null
      },
      "elements": [
        {
          "name": "message_preview",
          "type": "message_preview",
          "data": null,
          "should_submit_data": false
        },
        {
          "name": "message_preview",
          "type": "message_preview",
          "data": null,
          "should_submit_data": false
        },
        {
          "name": "breadcrumbs",
          "type": "breadcrumbs",
          "data": null,
          "should_submit_data": false
        }
      ],
      "report_type": "sub_spam",
      "children": []
    },
    "26": {
      "id": 26,
      "header": "Report Summary",
      "subheader": "Review your report before submitting.",
      "info": null,
      "button": {
        "type": "submit",
        "target": null
      },
      "elements": [
        {
          "name": "message_preview",
          "type": "message_preview",
          "data": null,
          "should_submit_data": false
        },
        {
          "name": "breadcrumbs",
          "type": "breadcrumbs",
          "data": null,
          "should_submit_data": false
        }
      ],
      "report_type": "sub_ham",
      "children": []
    }
  }
}

POST https://discord.com/api/v9/reporting/first_dm Response:

{"report_id": "888741596206620683"}

Body:

{
  "id": "report id???",
  "version": "1.0",
  "variant": "1",
  "language": "en",
  "breadcrumbs": [
    7
  ],
  "elements": {},
  "name": "first_dm",
  "channel_id": "user id",
  "message_id": "first message id ig?"
}

xenos1337 avatar Sep 18 '21 11:09 xenos1337

This looks possible, but i'm not sure of how we should go about generating snowflakes ourselves.

not-ilinked avatar Sep 22 '21 08:09 not-ilinked