Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 1.82 KB

README.md

File metadata and controls

82 lines (52 loc) · 1.82 KB

MyBot

A Discord bot.


Table of Contents


Features

  • Slash commands
  • Dont break the chain. A word in a channel has to be repeated. Scores are stored in database.

Technologies Used

Contributing

If you'd like to contribute to this project, please open an issue or submit a pull request with your proposed changes. I welcome any contributions or improvements!

Here are the steps to make contributions:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your branch to your fork.
  5. Create a pull request to the main repository.

Getting Started

What you first need to do are the steps mentioned in discordjs to set up a discord bot. Add it to your server. Now you're done setting up the bot.

To run this project locally, follow these steps:

  1. Clone the Repository:
git clone https://github.com/SimonStnn/MyBot.git
cd website
  1. Install Dependencies:
npm install
  1. Make .env from .env.template and put in tokens and keys.

  2. Run the Development Server:

tsc --project ./tsconfig.json
npm run dev

Now the bot should be online.

You can also start a debug session with vs-code.

Deploying with docker

To deploy the bot in docker, simply make the .env file from .env.template, put in the the required values and run:

docker-compose up -d

Configuration

You should also update the src/config.json to match your values.