https://github.com/tapnisu/tapris
Discord.js 14 bot made in TypeScript
https://github.com/tapnisu/tapris
bot discord discord-bot music nodejs typescript utils
Last synced: about 1 year ago
JSON representation
Discord.js 14 bot made in TypeScript
- Host: GitHub
- URL: https://github.com/tapnisu/tapris
- Owner: tapnisu
- License: mit
- Created: 2021-08-17T03:55:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T13:02:42.000Z (about 2 years ago)
- Last Synced: 2024-06-17T13:16:44.606Z (about 2 years ago)
- Topics: bot, discord, discord-bot, music, nodejs, typescript, utils
- Language: TypeScript
- Homepage: https://tapris.tapni.su
- Size: 7.19 MB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tapris
Multipurpose discord bot
## Overview
Tapris is a Discord bot, made in TypeScript. Named after Tapris
from Gabriel DropOut manga.
## How to use
You can invite the bot using
[this link](https://discord.com/api/oauth2/authorize?client_id=869088074758520832&scope=bot+applications.commands&permissions=294208515334).
## Contribute
1. Create bot using [Discord developer portal](https://discord.com/developers/applications).
2. Install [Node.js](https://nodejs.org/en/download).
3. Install [pnpm](https://pnpm.io/) using [Corepack](https://nodejs.org/api/corepack.html):
```sh
npm install --global corepack
corepack enable
corepack install
```
4. Build dependencies:
- (Windows) Install [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/?q=build+tools#build-tools-for-visual-studio-2022).
- (Linux) Install `build-essential`, `ffmpeg`, `libsodium-dev`, `python3`.
5. Set up your [.env](.env.sample) (sample in [.env.sample](.env.sample)):
```env
TAPRIS_TOKEN="DISCORD_BOT_TOKEN"
TAPRIS_DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
```
6. Install dependencies:
```sh
pnpm install
```
7. Apply pending database migrations
```sh
pnpm prisma migrate
```
8. Build bot:
```sh
pnpm build
```
9. Start bot:
```sh
pnpm start
```
Now you have a running bot!