A Discord.js Bot Startup Codebase
- Easily configurable
- Easily change your prefix, bot owners, or developer guild
- Select which Discord intents your bot should start with
- Select which Discord events should load
- Blacklist users and servers
- Choose to ignore or leave blacklisted servers
- Choose which commands should be loaded
- Determine active logging levels
- Easily Customizable bot presence
- Comprehensive Logging and Debugging
- Support for all Discord.js Events
- Flexible commands
- Supports slash and prefix commands
- choose if commands are usable in DMs
- optional NSFW properties
- Custom aliases
- Customizable cooldowns
- Per user
- Per server
- Global
- Owner
- BotClear - Mass deletes bot commands used in the current channel.
- CommandToggle - Toggles the given command.
- Deploy - Deploys global and guild slash commands.
- Eval - Evaluates given code.
- EventToggle - Toggles the given Discord.js event.
- Fail - Tests a given error.
- Logs - Retrieves the latest bot logs.
- LogTest - Tests each logger level.
- LogToggle - Toggles logging for the specified level.
- Raw - Relays the raw data of the replied message.
- Reload - Reloads a either a given command or all commands.
- Shutdown - Shuts the bot down gracefully.
- Test - Test slash command with subcommands and options.
- Prefix - Change the bot's prefix as needed.
- BotClear - Mass deletes bot commands used in the current channel.
- Miscellaneous
- Ping - Shows the bot uptime as well as the bots connection to Discord.
- Ping - Shows the bot uptime as well as the bots connection to Discord.
- Info
- About - Shows information about the bot.
- About - Shows information about the bot.
- Utility
- Temperature - Convert the provided temperature.
- Avatar - Fetch the provided user's avatar.
- Banner - Fetch the provided user's banner.
- Enlarge - Enlarge the provided emoji.<
- Math - Solve the provided math equation.
- Temperature - Convert the provided temperature.
- Fun
- CoinFlip - Flip a Coin!
- Number - Generate a random number within a given range.
- CoinFlip - Flip a Coin!
Slate can be installed by using the following instructions.
- Update package lists:
- Debian/Ubuntu:
sudo apt update && sudo apt upgrade
- Fedora/CentOS:
sudo dnf upgrade
- Arch Linux:
sudo pacman -Syu
- openSUSE:
sudo zypper dup
- Installing prerequisites:
- Debian/Ubuntu:
sudo apt install git nodejs npm
- Fedora/CentOS:
sudo dnf install git nodejs
- Arch Linux:
sudo pacman -S git nodejs npm
- openSUSE:
sudo zypper install git nodejs npm
- Clone the GitHub repository
git clone https://github.com/isahooman/Slate.git .
cd Slate
- Configuring Slate
Next you'll need to setup config.json5 as well as the optional extra config files.
sudo nano ./config/config.json5
You can follow the configuration example here if needed.
- You're now ready to run slate
npm run start
- Install node from the one of the following methods
winget install OpenJS.NodeJS
- Download the zip file of the Slate Repository
# Get the zip file of Slate
curl -uri "https://github.com/isahooman/Slate/archive/main.zip" -Method "GET" -Outfile "Slate.zip"
- Extract the zip file to a file location of your choice
# Unzips the zip file to your directory
tar -xvf Slate.zip
- Configuring Slate
Next you'll need to configure your bot in config.json5 as well as the optional extra config files.
# Opens the config file within the notepad text editor
notepad ./config/config.json5
You can follow the configuration example here if needed.
- You're now ready to run your bot!
# Installs the npm prerequisites and starts the bot
npm run start
- Install node from the one of the following links
brew install node
- Download the zip file of the Slate Repository
# Get the zip file of Slate
curl -L -O https://github.com/isahooman/Slate/archive/main.zip
- Extract the zip file to a file location of your choice
# Unzips the zip file to your directory
tar -xvf Slate-main.zip
- Configuring Slate
Next you'll need to configure your bot in config.json5 as well as the optional extra config files.
# Opens the config file within the notepad text editor
nano ./config/config.json5
You can follow the configuration example here if needed.
- You're now ready to run your bot using the start.sh file!
# Installs the npm prerequisites
npm start
Contributions are always welcome! Please read our contribution guidelines before contributing.
- Electron
- NodeJS