Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/canta-slaus/bot-prefab
A small template to help building Discord bots using Discord.js and Node.js
https://github.com/canta-slaus/bot-prefab
bot bot-prefab discord discord-bot discord-js typescript
Last synced: 12 days ago
JSON representation
A small template to help building Discord bots using Discord.js and Node.js
- Host: GitHub
- URL: https://github.com/canta-slaus/bot-prefab
- Owner: canta-slaus
- Created: 2020-10-22T14:53:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T20:39:05.000Z (over 3 years ago)
- Last Synced: 2023-09-07T20:27:53.032Z (over 1 year ago)
- Topics: bot, bot-prefab, discord, discord-bot, discord-js, typescript
- Language: JavaScript
- Homepage:
- Size: 246 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord.js Bot Prefab
**DISCLAIMER: If you are new to Discord.js and JavaScript in general, then don't even bother trying to understand how this prefab works. You should have at least decent knowledge about how Discord bots work and know some basic JS. If you have any question or spot any mistakes, shoot me a DM on Discord (canta#5556) or join my [server](https://discord.gg/eN8PfTRgh6).**\
**_Don't DM me asking how to do this and that command, I will only help you with using the bot prefab, not with specific commands._**## What is this?
This is a feature-rich bot prefab to make creating bots a bit easier, it has a fairly simple command and event handler and plenty of commands made in **Typescript and Javascript**. I made this because I don't think writing the whole handler yourself is neccesary to make a Discord bot, although you should at least try to understand how it all works to make it easier to debug.
The _help_ command is already set up to send a help message for other commands.## Available Features
- Per server prefixes
- Per server command disabling/enabling and customizable per server command permissions
- Per server custom command aliases
- Per server custom command cooldowns for certain roles
- Global blacklisting/whitelisting of users
- Pagination function and more quality of life features# JavaScript and TypeScript
There is a [`JavaScript`](js) as well as a [`TypeScript`](ts) version of the prefab. Both offer the same features, use whichever language you prefer!