Skip to content

BrackeysCommunity/Echo

Repository files navigation

Echo

A Discord bot for managing temporary voice channels.

GitHub Workflow Status GitHub Issues MIT License

About

Echo is a Discord bot which allows users to create temporary voice channels. It is designed to be used in conjunction with the Brackeys Discord server, but can be used on any server.

Installing and configuring Echo

Echo runs in a Docker container, and there is a compose.yaml file which simplifies this process.

Clone the repository

To start off, clone the repository into your desired directory:

git clone https://github.com/BrackeysCommunity/Echo.git

Step into the Echo directory using cd Echo, and continue with the steps below.

Setting things up

The bot's token is passed to the container using the DISCORD_TOKEN environment variable. This must be assigned in the compose.yaml file, or in an .env file in the same directory as the compose.yaml file.

DISCORD_TOKEN=your_token_here

Two directories are required to exist for Docker compose to mount as container volumes, data and logs:

mkdir data
mkdir logs

Copy the example config.example.yaml to data/config.yaml, and assign the necessary config keys. Below is breakdown of the config.yaml layout:

"GUILD_ID":
  channel: # The ID of the channel to which users connect, to create a new channel
  category: # The ID of the category in which new channels will be created

The logs directory is used to store logs in a format similar to that of a Minecraft server. latest.log will contain the log for the current day and current execution. All past logs are archived.

The data directory is used to store persistent state of the bot, such as config values and the infraction database.

Launch Echo

To launch Echo, simply run the following commands:

sudo docker-compose build
sudo docker-compose up --detach

Updating Echo

To update Echo, simply pull the latest changes from the repo and restart the container:

git pull
sudo docker-compose stop
sudo docker-compose build
sudo docker-compose up --detach

License

This bot is under the MIT License.

Disclaimer

This bot is tailored for use within the Brackeys Discord server. While this bot is open source and you are free to use it in your own servers, you accept responsibility for any mishaps which may arise from the use of this software. Use at your own risk.

About

A Discord bot for managing temporary voice channels.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published