Use https://github.com/user-lezi/ForgeUser cuz better
Effortlessly gather Discord information using user tokens. (Disclaimer: This violates Discord's Terms of Service and is intended for educational purposes only.)
Important: Use of this package is strictly at your own risk. Misuse may result in your account being banned or other repercussions. Always ensure compliance with applicable laws and platform rules.
- Simple integration with your existing bots.
- Highly configurable with caching options.
- Extendable via the ForgeScript library.
npm install fs-selfbot @tryforge/forgescriptHere is a quick example to get started:
const { FSSelfbot } = require("fs-selfbot");
const { ForgeClient } = require("@tryforge/forgescript");
const client = new ForgeClient({
intents: [
"Guilds",
"MessageContent",
"GuildMessages",
],
prefixes: ["!", "<@$botID>"],
extensions: [
new FSSelfbot({
userTokens: {
user1: "User token",
user2: "User Token",
...
}, // An object of user tokens
cacheDuration: 600000 // Cache lifespan in ms
})
],
})
client.login("bot token");| Option | Type | Description |
|---|---|---|
userTokens |
Object |
An object of user tokens. |
cacheDuration |
Number |
Cache lifespan in milliseconds. |
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.