Tapris is a Discord bot, made in TypeScript. Named after Tapris from Gabriel DropOut manga.
You can invite the bot using this link.
-
Create bot using Discord developer portal.
-
Install Node.js.
-
corepack enable corepack install
-
Build dependencies:
-
(Windows) Install Visual Studio Build Tools.
-
(Linux) Install
build-essential
,ffmpeg
,libsodium-dev
,python3
.
-
-
Set up your .env (sample in .env.sample):
TAPRIS_TOKEN="DISCORD_BOT_TOKEN" TAPRIS_DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
-
Install dependencies:
pnpm install
-
Apply pending database migrations
pnpm prisma migrate
-
Build bot:
pnpm build
-
Start bot:
pnpm start
Now you have a running bot!