Repository: User9684/stupid-discord-badge
Branch: master
Commit: dc0290537c67
Files: 6
Total size: 5.0 KB
Directory structure:
gitextract_mlks24_y/
├── .github/
│ └── dependabot.yml
├── .gitignore
├── faq.md
├── index.js
├── package.json
└── readme.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/dependabot.yml
================================================
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
================================================
FILE: .gitignore
================================================
/node_modules
/package-lock.json
================================================
FILE: faq.md
================================================
# Frequently asked questions!
- **Q:** Why do you hate Discord?
- It's a joke.
- **Q:** How do I run the bot 24/7?
- 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.
- **Q:** Why did you make this? Now a bunch of people who don't even know how to code have the badge!
- The real question is, why do you care about who has a stupid SVG on their profile?
- **Q:** Won't this help scam people?
- 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.
================================================
FILE: index.js
================================================
const { CommandClient } = require('eris')
// Stupid ass bot creation
async function init(token) {
const stupidAssBot = new CommandClient(`Bot ${token}`, { intents: ['guilds'], maxShards: 'auto',restMode: true })
// Register the stupid ass command
stupidAssBot.on('ready', async () => {
await stupidAssBot.bulkEditCommands([{
name: 'lol',
description: 'I hate discord so much you cannot believe it',
type: 1,
}])
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`)
})
// Stupid ass interaction creation event
stupidAssBot.on('interactionCreate', async (interaction) => {
if (interaction?.data?.name === 'lol') {
await interaction.createMessage({
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.'
})
console.log('Self destructing...')
process.exit(0)
}
})
stupidAssBot.connect();
}
const tokenFromStupidCommand = process.argv[2]
init(tokenFromStupidCommand);
================================================
FILE: package.json
================================================
{
"dependencies": {
"eris": "^0.17.1"
},
"name": "stupid-discord-badge",
"version": "1.0.0",
"description": "Discord can eat my ass",
"main": "index.js",
"scripts": {
"run": "npm i && node ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/User9684/stupid-discord-badge.git"
},
"author": "user#6969",
"license": "ISC",
"bugs": {
"url": "https://github.com/User9684/stupid-discord-badge/issues"
},
"homepage": "https://github.com/User9684/stupid-discord-badge#readme"
}
================================================
FILE: readme.md
================================================
# Please, do not use this to spam requests to either Discord or Replit, for they both are seeming to struggle with this.
## I hate Discord so I made this
<b> **Please consider reading the [FAQ](./faq.md) before opening issues.**
### How to use
#### Getting your token
- Create an application at the [Developer panel](https://discord.com/developers/applications/) (or you can use a previously existing one)
- Make it into a bot if it isn't already one
- Click "regenerate token" and then copy it
#### Hosting the bot
#### Repl.It (not recommended)
- To host on Repl.it, create an application via this [template](https://replit.com/new/github/User9684/stupid-discord-badge)
- Run the command `npm run run BOT_TOKEN_HERE` (replace (BOT_TOKEN_HERE with your [token](#getting-your-token)) inside the "Shell" tab
#### Glitch
- Open up [Glitch's](https://glitch.com/) website
- Click "New Project"
- Click "Import from github"
- Paste in `https://github.com/User9684/stupid-discord-badge.git` to the popup given
- Open the "Terminal" tab, and use the command `npm run run BOT_TOKEN_HERE` (replace BOT_TOKEN_HERE with your [token](#getting-your-token))
#### Selfhosting
- Install [Node](https://nodejs.org/en/)
- Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- Create a new directory on your system
- Open up any terminal
- Run the command `git clone https://github.com/User9684/stupid-discord-badge.git && cd stupid-discord-badge`
- Finally, run the command `npm run run BOT_TOKEN_HERE` (replace BOT_TOKEN_HERE with your [token](#getting-your-token))
#### Getting the badge
- Once your bot is running, invite it using the URL put into console (will be logged once it is fully running)
- Use the `/lol` command
- If your bot is brand new, you will need to wait up to 24h for your bot to be fully registered as "active"
- Once you are eligible, get the badge at the [Application site](https://discord.com/developers/active-developer)
### Example
`npm run run V2h5IGRpZCB5b3UgYWN0dWFsbHkgZGVjb2RlIGl0Pw.GIxRdU._UxMrJsWYKLAROyis_Kkv7XsXk-7Hjvuc7nIXg`
### Extra note
Silly cat :3
gitextract_mlks24_y/ ├── .github/ │ └── dependabot.yml ├── .gitignore ├── faq.md ├── index.js ├── package.json └── readme.md
SYMBOL INDEX (1 symbols across 1 files)
FILE: index.js
function init (line 4) | async function init(token) {
Condensed preview — 6 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6K chars).
[
{
"path": ".github/dependabot.yml",
"chars": 501,
"preview": "# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where "
},
{
"path": ".gitignore",
"chars": 32,
"preview": "/node_modules\n/package-lock.json"
},
{
"path": "faq.md",
"chars": 608,
"preview": "# 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'"
},
{
"path": "index.js",
"chars": 1381,
"preview": "const { CommandClient } = require('eris')\n\n// Stupid ass bot creation\nasync function init(token) {\n const stupidAssBo"
},
{
"path": "package.json",
"chars": 536,
"preview": "{\n \"dependencies\": {\n \"eris\": \"^0.17.1\"\n },\n \"name\": \"stupid-discord-badge\",\n \"version\": \"1.0.0\",\n \"description\""
},
{
"path": "readme.md",
"chars": 2108,
"preview": "# Please, do not use this to spam requests to either Discord or Replit, for they both are seeming to struggle with this."
}
]
About this extraction
This page contains the full source code of the User9684/stupid-discord-badge GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 6 files (5.0 KB), approximately 1.5k tokens, and a symbol index with 1 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.