Version 0.2023.6.26-1
cdabot is a Discord Bot for my Discord Server. It features custom commands, welcome messages, and leveling without databases, with more to come!
A quick note- I've set all "stable" commands to have the "global" flag. This may not necessarily be the most secure practice if running for multiple servers and you'll have to modify this.
- Download Node.js (v16 or higher) and NPM
- Download the
source code
from the tags or from the cdabot.zip file - Unzip the file
- Modify the
config.json
file to fit your needs - Open the folder in the Command Prompt or Terminal
- Download the packages with
npm i
- Run with
node .
ornpm run start
- You may need to register slash commands with
npm run register
- Scripts are also available to delete the slash commands
- All scripts:
start
,dev
,build
,register
,deleteServer
,deleteGlobal
- You may need to register slash commands with
Packages required:
- @discordjs/rest
- chalk
- discord.js
- fs-extra
- lodash
- xml2js
Contributions are welcome, and they're fairly simple, however it is beyond the scope of a README file to explain in detail. In general however, look up information as needed:
- Fork the Repository
- Clone the Fork
- Make Changes & Commit
- Write Proper Commit Messages!
- Create a Pull Request to merge with the main branch
- Make it Detailed!
- Basic Outline
- Welcome Messages
- Welcome Back Messages
- Command Handler
- FAQ Command Handler
- Trigger Handler
- No Database Leveling
- YouTube Notifications
- Giveaway System
- Automatically re-add status if it resets
- Config Validation
- Moderator Command Handler
- Link Filtering
- Leave/Rejoin Notifications for Moderators
- Event Responses
- Logging
- Ban
- Kick
- Mute
- Warn
- Note
- Easy Notifications & Responses (Reactions)
- Reaction Roles
- No Welcoming for Certain Reasons
- Automatic Nicknames for Inappropriate Names
- Purge
- Slowmode
- Ban
- Kick
- Mute
- Warn
- Note
- Notify Join
- Blacklist XP
- Add XP
- Remove XP
- Set XP
- Make Logging Cleaner
- Channel Creation
- Updated Channel
- Channel Deletion
- Role Creaiton
- Role Updates
- Role Deletion
- Server Updates
- Emoji Changes
- Role Updates
- Name Changes
- Avatar Changes
- Member Bans
- Member Unbans
- Join Voice Channel
- Move Between Voice Channels
- Leave Voice Channel
- Deleted Messages
- Edited Messages
- Purged Messages
- Discord Invites/Banned Words
- Members Joining
- Members Leaving