My second attempt at making a bot in javascript
Find a file
dependabot[bot] 94467bd57e
All checks were successful
CI / CI (push) Successful in 23s
Bump discord.js from 14.20.0 to 14.21.0 (#153)
Bumps [discord.js](https://github.com/discordjs/discord.js/tree/HEAD/packages/discord.js) from 14.20.0 to 14.21.0.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/14.21.0/packages/discord.js/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/commits/14.21.0/packages/discord.js)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-version: 14.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-26 23:25:57 +02:00
.github Add permissions to workflow 2025-05-04 04:22:15 +02:00
commands Add unique member count to botinfo 2025-06-24 03:47:30 +02:00
resources tdoss: Improve error handling of downloadImage + add the tdoss template 2025-05-10 20:39:51 +02:00
server Save globalPrefix in the settings map 2025-06-09 21:50:27 +02:00
tests Remove getGuildCount test 2025-06-24 02:47:01 +02:00
util Add output to executeCommand return 2025-06-24 03:40:44 +02:00
.gitignore Add .env to .gitignore 2024-10-24 21:18:01 +02:00
package-lock.json Bump discord.js from 14.20.0 to 14.21.0 (#153) 2025-06-26 23:25:57 +02:00
package.json Bump discord.js from 14.20.0 to 14.21.0 (#153) 2025-06-26 23:25:57 +02:00
README.md Readme: Don't do any css 2024-11-02 06:06:20 +01:00
server.js Update githash properly 2025-06-24 03:46:17 +02:00
UNLICENSE Add license 2021-06-22 18:23:57 +02:00

discord_bot

CI tests

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.

If the config is ever changed, you need to either delete it and repeat the steps above or take a look at the util/createInitialConfig.js file.

Known issues

See issues