discord_bot/README.md
2021-06-22 17:53:11 +02:00

883 B

discord_bot

A modular discord bot written in javascript, using the discord.js library.

This is my second attempt at making a discord bot.


To use the bot:

git clone https://github.com/SileNce5k/discord_bot.git
cd discord_bot
npm install
node server.js

The first time you start the bot with node server.js, it will create a directory called data with a config.json file.
In this file, enter your bot token.
You can also enter a login message, channel and enable it.
You can also change the global prefix.
You should enter you discord user id, so you can use the admin commands. Every time you want to change something in this file, you have to restart the bot.

Netload is a feature that enables the ability to upload .js files via discord to the bot. If you want this feature, you have to enable it in ./data/config.json.