Skip to content

Commit fc3aa1c

Browse files
authored
feat(UserFlags): add Quarantined flag (#495)
* feat(UserFlags): add Quarantined flag * fix: change to Math.pow() * chore: add @unstable * fix: improvements to @unstable * fix: description errors
1 parent 0609886 commit fc3aa1c

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

deno/payloads/v10/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ export enum UserFlags {
147147
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
148148
*/
149149
Spammer = 1 << 20,
150+
/**
151+
* User's account has been quarantined based on recent activity
152+
*
153+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
154+
*/
155+
Quarantined = Math.pow(2, 44),
150156
}
151157

152158
/**

deno/payloads/v8/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ export enum UserFlags {
149149
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
150150
*/
151151
Spammer = 1 << 20,
152+
/**
153+
* User's account has been quarantined based on recent activity
154+
*
155+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
156+
*/
157+
Quarantined = Math.pow(2, 44),
152158
}
153159

154160
/**

deno/payloads/v9/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ export enum UserFlags {
147147
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
148148
*/
149149
Spammer = 1 << 20,
150+
/**
151+
* User's account has been quarantined based on recent activity
152+
*
153+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
154+
*/
155+
Quarantined = Math.pow(2, 44),
150156
}
151157

152158
/**

payloads/v10/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ export enum UserFlags {
147147
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
148148
*/
149149
Spammer = 1 << 20,
150+
/**
151+
* User's account has been quarantined based on recent activity
152+
*
153+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
154+
*/
155+
Quarantined = Math.pow(2, 44),
150156
}
151157

152158
/**

payloads/v8/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ export enum UserFlags {
149149
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
150150
*/
151151
Spammer = 1 << 20,
152+
/**
153+
* User's account has been quarantined based on recent activity
154+
*
155+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
156+
*/
157+
Quarantined = Math.pow(2, 44),
152158
}
153159

154160
/**

payloads/v9/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ export enum UserFlags {
147147
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
148148
*/
149149
Spammer = 1 << 20,
150+
/**
151+
* User's account has been quarantined based on recent activity
152+
*
153+
* @unstable This user flag is currently not documented by Discord but has a known value which we will try to keep up to date.
154+
*/
155+
Quarantined = Math.pow(2, 44),
150156
}
151157

152158
/**

0 commit comments

Comments
 (0)