Skip to content

Commit de59526

Browse files
committed
fix: make premium true/false
1 parent bc22032 commit de59526

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

src/payloads/Guild.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import type { LanguageCode } from '../utils/index.js';
22

3-
export enum GuildPremiumType {
4-
Default = 0,
5-
Plus = 1,
6-
}
7-
83
export interface APICountingGuild<IDType> {
94
/**
105
* The ObjectID of the guild
@@ -25,7 +20,7 @@ export interface APICountingGuild<IDType> {
2520
/**
2621
* The premium type of the guild
2722
*/
28-
premium: GuildPremiumType;
23+
premium: boolean;
2924
/**
3025
* Initialized when the guild was created but will be updated at every count.
3126
*/

src/payloads/User.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import type { CBItemString } from '../utils/items.js';
22

3-
export enum UserPremiumType {
4-
Default = 0,
5-
Infinity = 1,
6-
}
7-
83
export interface APICountingUser<IDType> {
94
/**
105
* The ObjectID of the user
@@ -57,7 +52,7 @@ export interface APICountingUser<IDType> {
5752
/**
5853
* The lifetime status of the user
5954
*/
60-
premium: UserPremiumType;
55+
premium: boolean;
6156
/**
6257
* Initialized when the user was created but will be updated at every count.
6358
*/

0 commit comments

Comments
 (0)