Skip to content

datalinkhq/echo

Repository files navigation

echo - Our homemade discord bot

What is this?

This is the bot that datalink's Discord server uses- you can try it out for yourself in our server!

Self Hosting

Feel free to fork and modify echo, or even self-host it! Below are instructions on how to do this:

Prerequisites:

Initially, set up a MySQL Database, preferrably using PlanetScale. Configure the .env file accordingly, an example is provided in .env.example.

Docker:

The primary method to host echo is using docker compose.

  1. Clone the repository.
git clone https://github.com/datalinkhq/echo.git
  1. Run the bot using docker-compose.
docker-compose up -d
  1. To view the logs of the container:
docker compose logs -t -f

Locally:

Echo can be hosted without using docker compose as well.

  1. Clone the repository.
git clone https://github.com/datalinkhq/echo.git
  1. Install dependencies.
pnpm i
  1. Build the bot and its schema.
pnpm run build && pnpm run generate
  1. Run the bot.
pnpm run start:prod