cda94581 / cdabot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cdabot

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.

Installing & Running

  1. Download Node.js (v16 or higher) and NPM
  2. Download the source code from the tags or from the cdabot.zip file
  3. Unzip the file
  4. Modify the config.json file to fit your needs
  5. Open the folder in the Command Prompt or Terminal
  6. Download the packages with npm i
  7. Run with node . or npm 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

Packages required:

  • @discordjs/rest
  • chalk
  • discord.js
  • fs-extra
  • lodash
  • xml2js

Contributing

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!

Project Plans

General

  • 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

Moderation

  • 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

Commands to Add

Moderators

  • Purge
  • Slowmode
  • Ban
  • Kick
  • Mute
  • Warn
  • Note
  • Notify Join

Admin

  • Blacklist XP
  • Add XP
  • Remove XP
  • Set XP

Logging to Add

  • Make Logging Cleaner

Server Events

  • Channel Creation
  • Updated Channel
  • Channel Deletion
  • Role Creaiton
  • Role Updates
  • Role Deletion
  • Server Updates
  • Emoji Changes

Member Events

  • Role Updates
  • Name Changes
  • Avatar Changes
  • Member Bans
  • Member Unbans

Voice Events

  • Join Voice Channel
  • Move Between Voice Channels
  • Leave Voice Channel

Message Events

  • Deleted Messages
  • Edited Messages
  • Purged Messages
  • Discord Invites/Banned Words

Members Joining and Leaving

  • Members Joining
  • Members Leaving

About

License:MIT License


Languages

Language:JavaScript 99.6%Language:Shell 0.4%