Code Monkey home page Code Monkey logo

cdabot's Introduction

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

cdabot's People

Contributors

cda94581 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.