[
  {
    "path": ".github/dependabot.yml",
    "content": "# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where the package manifests are located.\n# Please see the documentation for all configuration options:\n# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates\n\nversion: 2\nupdates:\n  - package-ecosystem: \"npm\" # See documentation for possible values\n    directory: \"/\" # Location of package manifests\n    schedule:\n      interval: \"daily\"\n"
  },
  {
    "path": ".gitignore",
    "content": "/node_modules\n/package-lock.json"
  },
  {
    "path": "faq.md",
    "content": "# Frequently asked questions!\n- **Q:** Why do you hate Discord?\n- It's a joke.\n- **Q:** How do I run the bot 24/7?\n- It's not suggested to do this, but remove the `process.exit(0)` inside of `index.js` and the bot will not shut itself down.\n- **Q:** Why did you make this? Now a bunch of people who don't even know how to code have the badge!\n- The real question is, why do you care about who has a stupid SVG on their profile?\n- **Q:** Won't this help scam people?\n- Not entirely, the goal of this repo is to allow every single Discord user and their mother to get the badge, so that it is seen as useless.\n"
  },
  {
    "path": "index.js",
    "content": "const { CommandClient } = require('eris')\n\n// Stupid ass bot creation\nasync function init(token) {\n    const stupidAssBot = new CommandClient(`Bot ${token}`, { intents: ['guilds'], maxShards: 'auto',restMode: true })\n    // Register the stupid ass command\n    stupidAssBot.on('ready', async () => {\n        await stupidAssBot.bulkEditCommands([{\n            name: 'lol',\n            description: 'I hate discord so much you cannot believe it',\n            type: 1,\n        }])\n        console.log(`Paste the URL below into your browser to invite your bot!\\nhttps://discord.com/oauth2/authorize?client_id=${stupidAssBot.user.id}&scope=applications.commands%20bot&permissions=3072`)\n    })\n    // Stupid ass interaction creation event\n    stupidAssBot.on('interactionCreate', async (interaction) => {\n        if (interaction?.data?.name === 'lol') {\n            await interaction.createMessage({\n                content: 'According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway, because bees don\\'t care what humans think is impossible.'\n            })\n            console.log('Self destructing...')\n            process.exit(0)\n        }\n    })\n    stupidAssBot.connect();\n}\n\nconst tokenFromStupidCommand = process.argv[2]\ninit(tokenFromStupidCommand);\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"dependencies\": {\n    \"eris\": \"^0.17.1\"\n  },\n  \"name\": \"stupid-discord-badge\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Discord can eat my ass\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"run\": \"npm i && node .\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git+https://github.com/User9684/stupid-discord-badge.git\"\n  },\n  \"author\": \"user#6969\",\n  \"license\": \"ISC\",\n  \"bugs\": {\n    \"url\": \"https://github.com/User9684/stupid-discord-badge/issues\"\n  },\n  \"homepage\": \"https://github.com/User9684/stupid-discord-badge#readme\"\n}\n"
  },
  {
    "path": "readme.md",
    "content": "# Please, do not use this to spam requests to either Discord or Replit, for they both are seeming to struggle with this.\n\n## I hate Discord so I made this\n<b> **Please consider reading the [FAQ](./faq.md) before opening issues.**\n\n### How to use\n#### Getting your token\n- Create an application at the [Developer panel](https://discord.com/developers/applications/) (or you can use a previously existing one)\n- Make it into a bot if it isn't already one\n- Click \"regenerate token\" and then copy it\n#### Hosting the bot\n\n#### Repl.It (not recommended)\n- To host on Repl.it, create an application via this [template](https://replit.com/new/github/User9684/stupid-discord-badge)\n- Run the command `npm run run BOT_TOKEN_HERE` (replace (BOT_TOKEN_HERE with your [token](#getting-your-token)) inside the \"Shell\" tab\n\n#### Glitch\n- Open up [Glitch's](https://glitch.com/) website\n- Click \"New Project\"\n- Click \"Import from github\"\n- Paste in `https://github.com/User9684/stupid-discord-badge.git` to the popup given\n- Open the \"Terminal\" tab, and use the command `npm run run BOT_TOKEN_HERE` (replace BOT_TOKEN_HERE with your [token](#getting-your-token))\n\n#### Selfhosting\n- Install [Node](https://nodejs.org/en/)\n- Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- Create a new directory on your system\n- Open up any terminal\n- Run the command `git clone https://github.com/User9684/stupid-discord-badge.git && cd stupid-discord-badge`\n- Finally, run the command `npm run run BOT_TOKEN_HERE` (replace BOT_TOKEN_HERE with your [token](#getting-your-token))\n\n#### Getting the badge\n- Once your bot is running, invite it using the URL put into console (will be logged once it is fully running)\n- Use the `/lol` command\n- If your bot is brand new, you will need to wait up to 24h for your bot to be fully registered as \"active\"\n- Once you are eligible, get the badge at the [Application site](https://discord.com/developers/active-developer)\n\n### Example\n`npm run run V2h5IGRpZCB5b3UgYWN0dWFsbHkgZGVjb2RlIGl0Pw.GIxRdU._UxMrJsWYKLAROyis_Kkv7XsXk-7Hjvuc7nIXg`\n\n\n### Extra note\nSilly cat :3\n"
  }
]