A custom bot for the Unicorn Utterances community
Before you can use this bot, you need to have the following installed on your computer:
To get started, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/unicorn-utterances/discord-bot.git
-
Navigate to the project directory:
cd discord-bot
-
Install the dependencies using PNPM:
pnpm install
-
Copy the
.env.example
file to.env
:cp .env.example .env
-
Edit the
.env
file and set theDISCORD_BOT_TOKEN
andDISCORD_CLIENT_ID
environment variables to the values for your bot. -
Update the database:
pnpm db:update
-
Build the code:
pnpm build
-
Start the bot:
pnpm start
To develop this bot further, you can modify the code in the src
directory. You can also modify the Prisma schema in the prisma/schema.prisma
file.
After making changes, you need to rebuild the code using pnpm build
and restart the bot using pnpm start
.
This template is licensed under the MIT License. See the LICENSE
file for more information.