Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
/ hera Public archive

An entertaining Discord bot with music features and more...

License

Notifications You must be signed in to change notification settings

MineCube-MC/hera

Repository files navigation

Hera Logo

Hera

A new entertaining Discord Bot made in TypeScript

Repository Size Issues Pull Requests


Online in:


Installation and launching:

Docker

The Docker installation is pretty straight-forward. You can look at our docker-compose.yml file to see an example of deployment of the bot. After doing your changes to the file, write the following command in the console (assuming you have Docker and the Docker Compose plugin installed):

docker compose up -d

Manual

  • Install bun on your machine.
  • Clone the repository on your machine.
  • Open your console in the cloned repository.
  • To complete the installation, write the following command in the console:
bun install
  • After installation, you will need to configure the bot.
  • To start the bot, write the following command in the console:
bun run start

Bot config:

DISCLAIMER: We won't help you rebranding the bot for any other server. If you really want to do that, then you need to figure it out yourself.

  • Create an app on the Discord Developer Portal.
  • Go to the Bot tab, create a bot and copy its token.
  • Create a file named .env or rename the .env.example file to .env.
  • Open the .env file using any text editor.
  • This file contains general bot settings in this format:
Field name Example value Description
botToken "-" The token you copied from the Developer Portal, used to login the bot.
clientId "-" The client ID you copied from the Developer Portal, used for the auth.
clientSecret "-" The client secret you copied from the Developer Portal, also used for auth.
guildId "924159913024958505" This is the guild used in a developer environment
environment "dev", "debug", "prod" Sets the environment of the bot. Useful for guild only commands
lavalinkHost "-" The Lavalink host used for playing music in voice channels