├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .husky └── commit-msg ├── LICENSE ├── README.md ├── commitlint.config.cjs ├── next.config.mjs ├── package.json ├── postcss.config.cjs ├── prettier.config.cjs ├── prisma └── schema.prisma ├── src ├── components │ ├── Center.tsx │ ├── Footer.tsx │ ├── Header.tsx │ ├── Loader.tsx │ ├── Login.tsx │ ├── Meta.tsx │ ├── PlayerTable.tsx │ └── panel │ │ ├── AddAccount.tsx │ │ ├── Buttons.tsx │ │ ├── Shell.tsx │ │ ├── User.tsx │ │ ├── leaderboard │ │ └── Leaderboard.tsx │ │ └── statistics │ │ ├── StatisticCard.tsx │ │ └── Statistics.tsx ├── env.mjs ├── interfaces │ ├── Interaction.ts │ └── Punishment.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth].ts │ │ ├── bot │ │ │ ├── commands │ │ │ │ ├── bans.ts │ │ │ │ ├── kicks.ts │ │ │ │ └── mutes.ts │ │ │ ├── index.ts │ │ │ ├── register.js │ │ │ └── utils │ │ │ │ ├── general.ts │ │ │ │ └── moderationLog.ts │ │ └── trpc │ │ │ └── [trpc].ts │ ├── bans │ │ └── index.tsx │ ├── index.tsx │ ├── kicks │ │ └── index.tsx │ ├── mutes │ │ └── index.tsx │ ├── panel │ │ ├── accounts.tsx │ │ ├── index.tsx │ │ └── settings.tsx │ └── private.tsx ├── server │ ├── api │ │ ├── root.ts │ │ ├── routers │ │ │ ├── accounts.ts │ │ │ ├── general.ts │ │ │ ├── moderation │ │ │ │ ├── bans.ts │ │ │ │ ├── kicks.ts │ │ │ │ ├── mutes.ts │ │ │ │ └── statistics.ts │ │ │ └── settings.ts │ │ └── trpc.ts │ ├── auth.ts │ └── db.ts ├── styles │ └── globals.css └── utils │ ├── api.ts │ ├── discordRequest.ts │ └── general.ts ├── tailwind.config.cjs └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/commitlint.config.cjs -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /prettier.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/prettier.config.cjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /src/components/Center.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Center.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Header.tsx -------------------------------------------------------------------------------- /src/components/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Loader.tsx -------------------------------------------------------------------------------- /src/components/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Login.tsx -------------------------------------------------------------------------------- /src/components/Meta.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/Meta.tsx -------------------------------------------------------------------------------- /src/components/PlayerTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/PlayerTable.tsx -------------------------------------------------------------------------------- /src/components/panel/AddAccount.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/AddAccount.tsx -------------------------------------------------------------------------------- /src/components/panel/Buttons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/Buttons.tsx -------------------------------------------------------------------------------- /src/components/panel/Shell.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/Shell.tsx -------------------------------------------------------------------------------- /src/components/panel/User.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/User.tsx -------------------------------------------------------------------------------- /src/components/panel/leaderboard/Leaderboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/leaderboard/Leaderboard.tsx -------------------------------------------------------------------------------- /src/components/panel/statistics/StatisticCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/statistics/StatisticCard.tsx -------------------------------------------------------------------------------- /src/components/panel/statistics/Statistics.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/components/panel/statistics/Statistics.tsx -------------------------------------------------------------------------------- /src/env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/env.mjs -------------------------------------------------------------------------------- /src/interfaces/Interaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/interfaces/Interaction.ts -------------------------------------------------------------------------------- /src/interfaces/Punishment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/interfaces/Punishment.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /src/pages/api/bot/commands/bans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/commands/bans.ts -------------------------------------------------------------------------------- /src/pages/api/bot/commands/kicks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/commands/kicks.ts -------------------------------------------------------------------------------- /src/pages/api/bot/commands/mutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/commands/mutes.ts -------------------------------------------------------------------------------- /src/pages/api/bot/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/index.ts -------------------------------------------------------------------------------- /src/pages/api/bot/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/register.js -------------------------------------------------------------------------------- /src/pages/api/bot/utils/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/utils/general.ts -------------------------------------------------------------------------------- /src/pages/api/bot/utils/moderationLog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/bot/utils/moderationLog.ts -------------------------------------------------------------------------------- /src/pages/api/trpc/[trpc].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/api/trpc/[trpc].ts -------------------------------------------------------------------------------- /src/pages/bans/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/bans/index.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/kicks/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/kicks/index.tsx -------------------------------------------------------------------------------- /src/pages/mutes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/mutes/index.tsx -------------------------------------------------------------------------------- /src/pages/panel/accounts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/panel/accounts.tsx -------------------------------------------------------------------------------- /src/pages/panel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/panel/index.tsx -------------------------------------------------------------------------------- /src/pages/panel/settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/panel/settings.tsx -------------------------------------------------------------------------------- /src/pages/private.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/pages/private.tsx -------------------------------------------------------------------------------- /src/server/api/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/root.ts -------------------------------------------------------------------------------- /src/server/api/routers/accounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/accounts.ts -------------------------------------------------------------------------------- /src/server/api/routers/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/general.ts -------------------------------------------------------------------------------- /src/server/api/routers/moderation/bans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/moderation/bans.ts -------------------------------------------------------------------------------- /src/server/api/routers/moderation/kicks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/moderation/kicks.ts -------------------------------------------------------------------------------- /src/server/api/routers/moderation/mutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/moderation/mutes.ts -------------------------------------------------------------------------------- /src/server/api/routers/moderation/statistics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/moderation/statistics.ts -------------------------------------------------------------------------------- /src/server/api/routers/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/routers/settings.ts -------------------------------------------------------------------------------- /src/server/api/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/api/trpc.ts -------------------------------------------------------------------------------- /src/server/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/auth.ts -------------------------------------------------------------------------------- /src/server/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/server/db.ts -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/utils/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/utils/api.ts -------------------------------------------------------------------------------- /src/utils/discordRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/utils/discordRequest.ts -------------------------------------------------------------------------------- /src/utils/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/src/utils/general.ts -------------------------------------------------------------------------------- /tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/tailwind.config.cjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flowergardn/Thorn/HEAD/tsconfig.json --------------------------------------------------------------------------------