My second attempt at making a bot in javascript
Find a file
2021-07-10 13:02:41 +02:00
commands Allow bot owner to delete custom commands 2021-07-09 20:22:38 +02:00
server Split up onReady into own function 2021-07-10 13:02:41 +02:00
util Actually make bot owner able to delete any command 2021-07-09 20:28:16 +02:00
.gitignore Update gitignore 2021-06-28 17:09:17 +02:00
package-lock.json Fix penis size command 2021-07-06 16:25:39 +02:00
package.json Fix penis size command 2021-07-06 16:25:39 +02:00
README.md Edit message after update with last commit 2021-07-07 17:38:05 +02:00
server.js Split up onReady into own function 2021-07-10 13:02:41 +02:00
UNLICENSE Add license 2021-06-22 18:23:57 +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.

The bot can be quite buggy at times, so be warned before trying it out.


To use the bot:

git clone https://github.com/SileNce5k/discord_bot.git
cd discord_bot
npm install
npm start

The first time you start the bot with npm start, 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.

Known issues

  • parseMention has issues sometimes, but I don't know what exactly causes it and when it happens.