My second attempt at making a bot in javascript
Find a file
SileNce5k 568cfcaf4c
Update README
More information about how to use the bot.
2021-06-19 12:45:51 +02:00
commands Edit example 2021-06-19 10:26:39 +02:00
util Move config/data files into own directory 2021-04-21 19:27:29 +02:00
.gitignore Move config/data files into own directory 2021-04-21 19:27:29 +02:00
package-lock.json Add ability to upload modules to the bot via discord 2021-03-15 23:29:49 +01:00
package.json Add ability to upload modules to the bot via discord 2021-03-15 23:29:49 +01:00
README.md Update README 2021-06-19 12:45:51 +02:00
server.js Indent code after if statement 2021-06-14 20:25:14 +02:00

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.
Every time you want to change something in this file, you have to restart the bot.