Skip to content

Commit

Permalink
Added bootstrap, started settings modal, updated permissions, hacked …
Browse files Browse the repository at this point in the history
…together bot power status modal, and more
  • Loading branch information
nickheyer committed Nov 25, 2024
1 parent bf6fd12 commit e2db887
Show file tree
Hide file tree
Showing 33 changed files with 14,421 additions and 287 deletions.
508 changes: 341 additions & 167 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
"inspect": "node --inspect src/server/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
"migrate": "npx prisma migrate dev && npx prisma generate",
"reset": "rm -rf ./prisma/disco.db* ./prisma/migrations && npx prisma migrate dev --name init"
"reset": "rm -rf .cache && rm -rf ./prisma/disco.db* ./prisma/migrations && npx prisma migrate dev --name init"
},
"keywords": [],
"author": "Nicholas Heyer",
"license": "ISC",
"dependencies": {
"@epegzz/winston-dev-console": "^1.3.4",
"@prisma/client": "^5.13.0",
"axios": "^1.7.7",
"class-logger": "^1.3.0",
"discord.js": "^14.14.1",
"dotenv": "^16.4.4",
Expand All @@ -29,6 +30,7 @@
"koa-pug": "^5.1.0",
"koa-router": "^12.0.1",
"koa-static": "^5.0.0",
"koa-static-cache": "^5.1.4",
"koa-views": "^8.1.0",
"lodash": "^4.17.21",
"pug": "^3.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CREATE TABLE "EventLog" (
-- CreateTable
CREATE TABLE "DiscordBot" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"bot_id" TEXT DEFAULT '0',
"bot_username" TEXT DEFAULT 'Unavailable',
"bot_discriminator" TEXT DEFAULT '0000',
"bot_avatar_url" TEXT,
Expand Down
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ model EventLog {

model DiscordBot {
id Int @id @default(autoincrement())
bot_id String? @default("0")
bot_username String? @default("Unavailable")
bot_discriminator String? @default("0000")
bot_avatar_url String?
Expand Down
Loading

0 comments on commit e2db887

Please sign in to comment.