Skip to content

Commit

Permalink
feat(UserFlags): add Spammer flag (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 9, 2022
1 parent 83f29b6 commit 03f12d7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deno/payloads/v8/user.ts
Expand Up @@ -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,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions deno/payloads/v9/user.ts
Expand Up @@ -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,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v8/user.ts
Expand Up @@ -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,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v9/user.ts
Expand Up @@ -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,
}

/**
Expand Down

0 comments on commit 03f12d7

Please sign in to comment.