Giter Site home page Giter Site logo

discord-bot-user-role-escalation-test's Introduction

Discord-Bot-User-Role-Escalation-Test

Version: 1.4

A Discord Bot with the capabilities of elevating a user's roles on any Discord Server it is on


IMPORTANT:

  • THIS BOT IS A PROJECT TO LEARN MORE ABOUT JS AND DISCORD BOTS, ONLY USE ON SERVERS YOU HAVE PERMISSION TO : DO NOT USE FOR MALICIOUS PURPOSES
  • DEVELOPER IS NOT RESPONSIBLE FOR ANYTHING DONE WITH BOT BY OTHERS

REQUIREMENTS:

  • node.js installed
  • discord.js npm packaged installed

HOW TO START:

  • Clone this repo
  • Create config.json for discord token (https://discordjs.guide/creating-your-bot/)
  • Setup bot as an application on your discord developer portal (https://discord.com/developers/applications)
  • Create invite link using Discord's built in link generator and make sure the bot's permissions are set to only administrator
  • Add bot to server
  • Change to directory of bot in terminal
  • Run 'node .' in terminal to start bot

NOTE:

  • I wrote part of this a while ago, so most of it is not using discord.js v14
  • Bot must be on the server for use
  • There are still a few bugs being worked with the '-create' and '-add' commands so expect a few issues
  • There is no multi-command handling so if more than one person tries to use a command at the same time nothing will happen for either of them. If needed on multiple servers it is recommened to host different instances of the bot
  • This bot is meant to be used as a role escalation test for Discord servers
  • Bot can be customized to be used however is needed to maintain cover, the default is the 'Funny Bot' cover which includes some jokes and other commands; customizing requires some discord.js knowledge
  • Commands can be added and removed for modularity, again, some discord.js knowledge is needed

Change Log

v1.4 Changes

  • Switched joke command from using hardcoded jokes to using the icanhasdadjoke api to generate jokes

v1.3 Changes

  • Fixed security issues detected by GitHub Dependabot
  • Made '-create' and '-add' commands automatically delete themselves in chat after execution to cover tracks
  • Added comments with information regarding different functionality
  • Created config.json requirement to prevent Discord Token from leaking
  • Finally posted this project to GitHub

discord-bot-user-role-escalation-test's People

Contributors

panicatthecisco avatar dependabot[bot] 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.