Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add Report Spam Feature #3261

Open
ghost opened this issue Sep 15, 2021 · 7 comments
Open

[Request] Add Report Spam Feature #3261

ghost opened this issue Sep 15, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2021

image

@not-ilinked
Copy link
Owner

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

@ghost
Copy link
Author

ghost commented Sep 15, 2021

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

@not-ilinked
Copy link
Owner

How new does the account have to be?

@ghost
Copy link
Author

ghost commented Sep 16, 2021

image

image

image

@ghost
Copy link
Author

ghost commented Sep 16, 2021

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

@xenos1337
Copy link

xenos1337 commented Sep 18, 2021

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?"
}

@not-ilinked
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants