diff options
author | ChrisChrome <christophercookman@gmail.com> | 2022-08-12 23:28:12 -0600 |
---|---|---|
committer | ChrisChrome <christophercookman@gmail.com> | 2022-08-12 23:28:12 -0600 |
commit | 443c7d8a1ee81add4b549b00fc27fefe6e50279c (patch) | |
tree | f307427d095b0786747f067ca0dbb17822cc067c | |
parent | Make teams nullable (diff) | |
download | server-443c7d8a1ee81add4b549b00fc27fefe6e50279c.tar.xz |
Made nitro stuff make some sense
-rw-r--r-- | api/src/routes/applications/#id/bot/index.ts | 8 | ||||
-rw-r--r-- | bundle/package.json | 2 | ||||
-rw-r--r-- | util/src/entities/Member.ts | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/api/src/routes/applications/#id/bot/index.ts b/api/src/routes/applications/#id/bot/index.ts index a8a24d13..a51c9526 100644 --- a/api/src/routes/applications/#id/bot/index.ts +++ b/api/src/routes/applications/#id/bot/index.ts @@ -28,13 +28,13 @@ router.post("/", route({}), async (req: Request, res: Response) => { id: app.id, bot: true, system: false, - premium_since: new Date(), + premium_since: 0, desktop: false, mobile: false, - premium: true, - premium_type: 2, + premium: false, + premium_type: 0, bio: app.description, - mfa_enabled: false, + mfa_enabled: true, totp_secret: "", totp_backup_codes: [], verified: true, diff --git a/bundle/package.json b/bundle/package.json index 6adb569c..b67598b8 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -99,4 +99,4 @@ "typescript": "^4.1.2", "ws": "^8.8.1" } -} +} \ No newline at end of file diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index d4395e03..baac58ed 100644 --- a/util/src/entities/Member.ts +++ b/util/src/entities/Member.ts @@ -257,7 +257,7 @@ export class Member extends BaseClassWithoutId { nick: undefined, roles: [guild_id], // @everyone role joined_at: new Date(), - premium_since: new Date(), + premium_since: null, deaf: false, mute: false, pending: false, |