From 03f12d71eef2661ee5290152952ea1adc9a92383 Mon Sep 17 00:00:00 2001 From: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:31:24 -0500 Subject: [PATCH] feat(UserFlags): add `Spammer` flag (#294) --- deno/payloads/v8/user.ts | 4 ++++ deno/payloads/v9/user.ts | 4 ++++ payloads/v8/user.ts | 4 ++++ payloads/v9/user.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/payloads/v8/user.ts b/deno/payloads/v8/user.ts index 5b7536ad1..e26981cda 100644 --- a/deno/payloads/v8/user.ts +++ b/deno/payloads/v8/user.ts @@ -145,6 +145,10 @@ export enum UserFlags { * Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list */ BotHTTPInteractions = 1 << 19, + /** + * User has been identified as spammer + */ + Spammer = 1 << 20, } /** diff --git a/deno/payloads/v9/user.ts b/deno/payloads/v9/user.ts index 5b7536ad1..e26981cda 100644 --- a/deno/payloads/v9/user.ts +++ b/deno/payloads/v9/user.ts @@ -145,6 +145,10 @@ export enum UserFlags { * Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list */ BotHTTPInteractions = 1 << 19, + /** + * User has been identified as spammer + */ + Spammer = 1 << 20, } /** diff --git a/payloads/v8/user.ts b/payloads/v8/user.ts index 48461ac28..878fdff45 100644 --- a/payloads/v8/user.ts +++ b/payloads/v8/user.ts @@ -145,6 +145,10 @@ export const enum UserFlags { * Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list */ BotHTTPInteractions = 1 << 19, + /** + * User has been identified as spammer + */ + Spammer = 1 << 20, } /** diff --git a/payloads/v9/user.ts b/payloads/v9/user.ts index 48461ac28..878fdff45 100644 --- a/payloads/v9/user.ts +++ b/payloads/v9/user.ts @@ -145,6 +145,10 @@ export const enum UserFlags { * Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list */ BotHTTPInteractions = 1 << 19, + /** + * User has been identified as spammer + */ + Spammer = 1 << 20, } /**