Skip to content

Commit 37981ac

Browse files
author
xyzjesper
committed
Relese 1.6.4
1 parent 08efcb7 commit 37981ac

770 files changed

Lines changed: 19861 additions & 6225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/compiler.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/project.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bun.lock

Lines changed: 69 additions & 322 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/docker-compose.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,43 @@
11
{
22
"name": "disbot",
33
"main": "./.build/startup.js",
4-
"version": "v.1.6.3",
4+
"version": "v.1.6.4",
55
"scripts": {
66
"disbot": "npx prisma migrate deploy && node ./.build/src/main/startup.js",
77
"disbotdev": "bun run build && node ./.build/src/main/startup.js",
88
"build": "tsc && bun run setup:prisma",
99
"setup:prisma": "copyfiles -u 1 \"src/prisma/**/*\" .build/src",
10-
"typedoc": "bun x typedoc --entryPointStrategy Expand src",
11-
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org nexocrew --project disbot-client ./.build && sentry-cli sourcemaps upload --org nexocrew --project disbot-client ./.build"
10+
"typedoc": "bun x typedoc --entryPointStrategy Expand src"
1211
},
1312
"keywords": [
1413
"disbot"
1514
],
1615
"author": "xyzjesper",
17-
"license": "MIT",
1816
"description": "DisBot",
1917
"type": "module",
2018
"dependencies": {
2119
"@napi-rs/canvas": "^0.1.77",
2220
"@octokit/core": "^7.0.3",
2321
"@prisma/adapter-pg": "^6.16.3",
2422
"@prisma/client": "^6.14.0",
25-
"@sentry/cli": "^2.52.0",
26-
"@sentry/node": "^10.5.0",
27-
"@t3-oss/env-nextjs": "^0.13.8",
2823
"@top-gg/sdk": "^3.1.6",
2924
"@types/body-parser": "^1.19.6",
30-
"@types/js-yaml": "^4.0.9",
3125
"axios": "1.12.2",
3226
"body-parser": "^2.2.0",
33-
"canvacord": "^6.0.2",
27+
"canvacord": "^6.0.4",
3428
"canvas": "^3.2.0",
35-
"clsx": "^2.1.1",
3629
"colors": "^1.4.0",
3730
"copyfiles": "^2.4.1",
3831
"cors": "^2.8.5",
39-
"discord-html-transcripts": "^3.2.0",
32+
"discord-html-transcripts": "3.2.0",
4033
"discord-welcome-card": "^4.9.3",
4134
"discord.js": "^14.24.0",
4235
"discordbotlist": "^1.1.1",
4336
"dotenv": "^17.2.1",
4437
"ejs": "^3.1.10",
4538
"express": "^5.1.0",
4639
"form-data": "^4.0.4",
40+
"mathjs": "^15.1.0",
4741
"moment": "^2.30.1",
4842
"ms": "^2.1.3",
4943
"multer": "2.0.2",
@@ -54,12 +48,7 @@
5448
"prisma": "^6.14.0",
5549
"rss-parser": "^3.13.0",
5650
"short-uuid": "^5.2.0",
57-
"socket.io": "^4.8.1",
58-
"socket.io-client": "^4.8.1",
59-
"sourcebin": "^5.0.0",
6051
"topgg-autoposter": "^2.0.2",
61-
"ts-node": "^10.9.2",
62-
"tsc-alias": "^1.8.16",
6352
"typedoc": "^0.28.10",
6453
"undici": "^7.14.0",
6554
"uuid": "^11.1.0",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `LevelUoMessageTemplateId` on the `LevelSettings` table. All the data in the column will be lost.
5+
- Added the required column `LevelUpMessageTemplateId` to the `LevelSettings` table without a default value. This is not possible if the table is not empty.
6+
7+
*/
8+
-- AlterTable
9+
ALTER TABLE "public"."LevelSettings" DROP COLUMN "LevelUoMessageTemplateId",
10+
ADD COLUMN "LevelUpMessageTemplateId" TEXT NOT NULL;
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `Type` on the `LevelRoles` table. All the data in the column will be lost.
5+
6+
*/
7+
-- AlterTable
8+
ALTER TABLE "public"."LevelRoles" DROP COLUMN "Type",
9+
ADD COLUMN "Types" TEXT[];
10+
11+
-- AlterTable
12+
ALTER TABLE "public"."LevelSettings" ADD COLUMN "IsLevelModuleEnabled" BOOLEAN NOT NULL DEFAULT false,
13+
ADD COLUMN "VoiceXPType" TEXT,
14+
ALTER COLUMN "LevelUpChannelId" DROP NOT NULL,
15+
ALTER COLUMN "LeaderboardMessageTemplateId" DROP NOT NULL,
16+
ALTER COLUMN "LeaderboardDisplayAmount" DROP NOT NULL,
17+
ALTER COLUMN "RequiredXPForFirstLevel" DROP NOT NULL,
18+
ALTER COLUMN "Format" DROP NOT NULL,
19+
ALTER COLUMN "MessageXP" DROP NOT NULL,
20+
ALTER COLUMN "MessageXPRange" DROP NOT NULL,
21+
ALTER COLUMN "MesssageXPCooldown" DROP NOT NULL,
22+
ALTER COLUMN "MessageXPType" DROP NOT NULL,
23+
ALTER COLUMN "VoiceXP" DROP NOT NULL,
24+
ALTER COLUMN "VoiceXPRange" DROP NOT NULL,
25+
ALTER COLUMN "VoiceXPCooldown" DROP NOT NULL,
26+
ALTER COLUMN "LevelUpMessageTemplateId" DROP NOT NULL;
27+
28+
-- AlterTable
29+
ALTER TABLE "public"."XPDrops" ADD COLUMN "ClaimAmount" INTEGER,
30+
ADD COLUMN "ExpireTime" INTEGER;
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
Warnings:
3+
4+
- A unique constraint covering the columns `[UUID]` on the table `Levels` will be added. If there are existing duplicate values, this will fail.
5+
- A unique constraint covering the columns `[UUID]` on the table `XPDrops` will be added. If there are existing duplicate values, this will fail.
6+
- A unique constraint covering the columns `[UUID]` on the table `XPStreaks` will be added. If there are existing duplicate values, this will fail.
7+
- Added the required column `UUID` to the `Levels` table without a default value. This is not possible if the table is not empty.
8+
- Added the required column `UUID` to the `XPDrops` table without a default value. This is not possible if the table is not empty.
9+
- Added the required column `UUID` to the `XPStreaks` table without a default value. This is not possible if the table is not empty.
10+
11+
*/
12+
-- AlterTable
13+
ALTER TABLE "public"."LevelRoles" ALTER COLUMN "Level" DROP NOT NULL,
14+
ALTER COLUMN "Multiplier" DROP NOT NULL,
15+
ALTER COLUMN "RoleId" DROP NOT NULL;
16+
17+
-- AlterTable
18+
ALTER TABLE "public"."Levels" ADD COLUMN "UUID" TEXT NOT NULL,
19+
ALTER COLUMN "XP" DROP NOT NULL,
20+
ALTER COLUMN "RequiredXp" DROP NOT NULL,
21+
ALTER COLUMN "Level" DROP NOT NULL;
22+
23+
-- AlterTable
24+
ALTER TABLE "public"."XPDrops" ADD COLUMN "UUID" TEXT NOT NULL,
25+
ALTER COLUMN "XPRange" DROP NOT NULL,
26+
ALTER COLUMN "ClaimType" DROP NOT NULL,
27+
ALTER COLUMN "TimeToRespawn" DROP NOT NULL;
28+
29+
-- AlterTable
30+
ALTER TABLE "public"."XPStreaks" ADD COLUMN "UUID" TEXT NOT NULL,
31+
ALTER COLUMN "Days" DROP NOT NULL,
32+
ALTER COLUMN "Nickname" DROP NOT NULL,
33+
ALTER COLUMN "BonusLevels" DROP NOT NULL,
34+
ALTER COLUMN "BonusXP" DROP NOT NULL,
35+
ALTER COLUMN "ChannelId" DROP NOT NULL,
36+
ALTER COLUMN "MessageTemplateId" DROP NOT NULL,
37+
ALTER COLUMN "Multiplier" DROP NOT NULL;
38+
39+
-- CreateIndex
40+
CREATE UNIQUE INDEX "Levels_UUID_key" ON "public"."Levels"("UUID");
41+
42+
-- CreateIndex
43+
CREATE UNIQUE INDEX "XPDrops_UUID_key" ON "public"."XPDrops"("UUID");
44+
45+
-- CreateIndex
46+
CREATE UNIQUE INDEX "XPStreaks_UUID_key" ON "public"."XPStreaks"("UUID");
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `MessageXP` on the `LevelSettings` table. All the data in the column will be lost.
5+
- You are about to drop the column `VoiceXP` on the `LevelSettings` table. All the data in the column will be lost.
6+
7+
*/
8+
-- AlterTable
9+
ALTER TABLE "public"."LevelSettings" DROP COLUMN "MessageXP",
10+
DROP COLUMN "VoiceXP",
11+
ADD COLUMN "IsMessageXPEnabled" BOOLEAN DEFAULT false,
12+
ADD COLUMN "IsVoiceXPEnabled" BOOLEAN DEFAULT false,
13+
ADD COLUMN "XPPerMessage" INTEGER,
14+
ADD COLUMN "XPPerMinInVoice" INTEGER;
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
Warnings:
3+
4+
- You are about to drop the column `Format` on the `LevelSettings` table. All the data in the column will be lost.
5+
- You are about to drop the column `XPPerMessage` on the `LevelSettings` table. All the data in the column will be lost.
6+
- You are about to drop the column `XPPerMinInVoice` on the `LevelSettings` table. All the data in the column will be lost.
7+
8+
*/
9+
-- AlterTable
10+
ALTER TABLE "public"."LevelSettings" DROP COLUMN "Format",
11+
DROP COLUMN "XPPerMessage",
12+
DROP COLUMN "XPPerMinInVoice",
13+
ADD COLUMN "MessageFormat" TEXT,
14+
ADD COLUMN "VoiceFormat" TEXT;

0 commit comments

Comments
 (0)