sphinx-tools
Version:
Cool npm module
63 lines (36 loc) • 1.22 kB
Markdown
it just spams in a specific TextChannel to farm exp.
- **2 Languages**: You can use English or arabic.
- **Gibberish Spamming**: spams random letters instead of words
To use this library, you need to have:
- **Node.js** (v16 or higher recommended)
- A Discord bot with voice channel access
1. **Install the sphinx-tools npm module**:
```bash
npm i sphinx-tools@latest
```
In your bot’s code, import and initialize the `User` Class.
```typescript
const sphinxtools = require("sphinx-tools");
const { Client } = require('discord.js-selfbot-v13'); // works with any library that uses discord.js-like syntax;
const client = new Discord.Client();
// Create a new class bot
const Bot = new sphinxtools.user(client);
```
To start the auto leveling, use the `leveling` method.
```typescript
let lang = "eng"
Bot.leveling({
channel: "channel you want the bot to spam in",
randomLetters: false, // if true it spams random letters
time: 10000, // delay between each message in ms
type: lang == 'eng' ? 'eng' : 'ar' // The language, can be "ar"
})
```