{"_id":"@3mkneon/discord-utils","name":"@3mkneon/discord-utils","dist-tags":{"latest":"3.0.1"},"versions":{"3.0.1":{"name":"@3mkneon/discord-utils","version":"3.0.1","description":"This package was made to help users in discord, Made it because people kept asking for it.","main":"inedx.js","bin":{"discord-utils":"bin/cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","semantic-release":"semantic-release --branches","commit":"git-cz"},"author":{"name":"le.neon"},"license":"Apache-2.0","dependencies":{"@discordjs/voice":"^0.18.0","@discordjs/builders":"^1.1.0","axios":"^0.27.2"},"devDependencies":{"cz-conventional-changelog":"^3.3.0","semantic-release":"^20.0.2"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@3mkneon/discord-utils@3.0.1","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-QWHxNPrXFJ2/WOiWEeNSadgyKK8DWIHbetPQu/YgxCuYH/N+O2rZW+a7QzuntAWP5necEP40tzFjmhtcRFh/bA==","shasum":"3f7644ea709ef2dfb8303f7ef23f7335e0c79ce6","tarball":"https://registry.npmjs.org/@3mkneon/discord-utils/-/discord-utils-3.0.1.tgz","fileCount":8,"unpackedSize":37658,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG+2mT6AHB0pX4b4KEdFSOA3cNqQnSsXWR4zELTBJlpWAiEA66B0j4Z2eJAaRE3085QmuT3EXPDk06RVssh7i+EG6IQ="}]},"_npmUser":{"name":"3mkneon","email":"mostafaahmed.888mf@gmail.com"},"directories":{},"maintainers":[{"name":"3mkneon","email":"mostafaahmed.888mf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/discord-utils_3.0.1_1746300275331_0.5370148436391788"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-03T19:24:35.216Z","3.0.1":"2025-05-03T19:24:35.546Z","modified":"2025-05-03T19:24:36.074Z"},"maintainers":[{"name":"3mkneon","email":"mostafaahmed.888mf@gmail.com"}],"description":"This package was made to help users in discord, Made it because people kept asking for it.","author":{"name":"le.neon"},"license":"Apache-2.0","readme":"# discord-utils\r\n - discord-utils is an open-source package that allows users to break discord api rules and do some annoying things, Use it at your own risk.\r\n\r\n # How to use.\r\n discord-utils has many classes (2) which are **botAccount & userAccount**, Continue reading to know how to use them.\r\n\r\n # Using **botAccount** Class\r\n ```js\r\nconst Discord = require(\"discord.js\");\r\nconst client = new Discord.Client({ intents: [YourIntents]});\r\nconst { botAccount } = require(\"@3mkneon/discord-utils\");\r\nnew botAccount(client, Discord).broadcast({\r\n    ownerId: ['YourId'], // Your Id, The bot will only work with it.\r\n    prefix: '!', // Bot Prefix\r\n    mention: true, // Allows the bot to ping the user in the dms.\r\n    type: 'online' // Sends to online only!\r\n});\r\nclient.login(\"TokenGoesHere\")\r\n```\r\n# Using **userAccount** Class\r\n```js\r\nconst Discord = require(\"discord.js-selfbot-v13\"); //npm i discord.js-selfbot-v13\r\nconst client = new Discord.Client({ intents: [YourIntents]});\r\nconst { userAccount } = require(\"@3mkneon/discord-utils\");\r\nnew userAccount(client, Discord).autoReaction({\r\n    channel: 'AnyChannelID',\r\n    user: 'AnyUserID',\r\n    //customBotId: ['SomeBotIDS']\r\n});\r\nclient.login(\"YourToken\");\r\n```\r\n[-] Auto Leveling\r\n```js\r\nconst Discord = require(\"discord.js-selfbot-v13\"); //npm i discord.js-selfbot-v13\r\nconst client = new Discord.Client({ intents: [YourIntents]});\r\nconst { userAccount } = require(\"@3mkneon/discord-utils\");\r\nnew userAccount(client, Discord).leveling({\r\n    channel: 'AnyChannelID',\r\n    randomLetters: false, //RandomLetters\r\n    time: 10000, //Time you want to delay between each message,\r\n    type: 'eng' // There is 2 types : eng | ar\r\n});\r\nclient.login(\"YourToken\");\r\n```\r\n# Creating a bot using a user account\r\n```js\r\nconst { createBot, sphinx } = require(\"@3mkneon/discord-utils\") // npm i discord-utils@latest\r\nnew createBot(\"YourAccountTokenGoesHere\").create(\"BotName\");\r\nsphinx.on(\"GetBotToken\", token => {\r\n    console.log(token)\r\n});\r\n```\r\n\r\n# Contacts \r\n- For Support Contact : **Discord: le.neon**\r\n","readmeFilename":"README.md","_rev":"1-0ad810524391fcea0dcb895651ff14ec"}