https://github.com/sherrao/sherbot
A lightweight Discord bot framework that can be used to create any bot! It has all the boilerplate code done for you, and is fully modular! You can add commands, events, and timed tasks - all fully modular; all you need to do is fork!
https://github.com/sherrao/sherbot
boilerplate bot discord discord-js javascript modular
Last synced: 8 months ago
JSON representation
A lightweight Discord bot framework that can be used to create any bot! It has all the boilerplate code done for you, and is fully modular! You can add commands, events, and timed tasks - all fully modular; all you need to do is fork!
- Host: GitHub
- URL: https://github.com/sherrao/sherbot
- Owner: SherRao
- License: mit
- Created: 2021-04-15T03:56:32.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-12T05:09:40.000Z (over 4 years ago)
- Last Synced: 2025-10-04T03:58:42.485Z (9 months ago)
- Topics: boilerplate, bot, discord, discord-js, javascript, modular
- Language: JavaScript
- Homepage:
- Size: 497 KB
- Stars: 7
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SherBot
SherBot A lightweight skeleton for a Discord bot that can be used to create any bot! It has all the boilerplate code done for you, and is fully modular! You can add commands, events, and timed tasks - all fully modular!
Requirements
- Node.js
- js-logger
- discord.js
- discord.js-light
Usage
Don't use the example files given - any command named example.*.js won't be loaded by the bot! Copy the example files and rename them to use.
Also make sure to rename "config.template.json" to "config.json" - this is where your token goes, as well as other data you want to use!
Commands
This folder stores commands (duh). Any files that end with ".js" in the commands folder will be registered as slash commands by the bot. Follow the template given in the "example.js" file.
Events
This folder stores the logic for an event. Any files that end with ".js" in the events folder will be registered as on or once events to the Discord API. Follow the template given in the "example.js" file.
Tasks
This folder stores functions. Any files that end with ".js" in the tasks folder will be registered as functions to be executed at certain intervals. Follow the template given in the "example.js" file.
Embeds
This folder is used to store embeds in their own files to allow cleaner code. These can be imported in files and used as neccessary. These embeds can be used in conjuction with the util functions.