fluxer-selfbot 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -35
- package/dist/index.d.ts +1932 -1928
- package/dist/index.js +4 -4
- package/package.json +35 -54
package/README.md
CHANGED
|
@@ -1,59 +1,77 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 🚀 fluxer-selfbot
|
|
2
2
|
|
|
3
|
-
[
|
|
4
|
-
[](https://github.com/fluxerjs/core/actions/workflows/codeql.yml)
|
|
5
|
-
[](https://coderabbit.ai)
|
|
6
|
-
[](https://www.npmjs.com/package/@fluxerjs/core)
|
|
7
|
-
[](LICENSE)
|
|
3
|
+
**fluxer-selfbot** is a premium, all-in-one bundle of the FluxerJS SDK, specifically optimized for building self-bots on [Fluxer](https://fluxer.app). It is an optimized fork of [fluxerjs/core](https://github.com/fluxerjs/core) that provides zero-config defaults, stealth client properties, and includes all necessary tools (builders, rest, ws) in a single, lightweight package.
|
|
8
4
|
|
|
9
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/fluxer-selfbot)
|
|
6
|
+
[](LICENSE)
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## ✨ Features
|
|
11
|
+
|
|
12
|
+
- **📦 All-in-One**: Includes `core`, `rest`, `ws`, `builders`, `collection`, and `util` in a single bundle.
|
|
13
|
+
- **🕵️ Stealth by Default**: Mimics the official Discord Client properties (OS, Browser, Device) to avoid detection..
|
|
14
|
+
- **🤏 Lightweight**: Minified and optimized bundle (~0.45MB).
|
|
15
|
+
- **💪 Fully Typed**: High-quality TypeScript declarations included for a perfect developer experience.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🚀 Quick Start
|
|
20
|
+
|
|
21
|
+
### Installation
|
|
12
22
|
|
|
13
23
|
```bash
|
|
14
|
-
|
|
24
|
+
# Using Bun (Recommended)
|
|
25
|
+
bun add fluxer-selfbot
|
|
26
|
+
|
|
27
|
+
# Using npm
|
|
28
|
+
npm install fluxer-selfbot
|
|
15
29
|
```
|
|
16
30
|
|
|
17
|
-
|
|
31
|
+
### Basic Self-bot Example
|
|
18
32
|
|
|
19
|
-
```
|
|
20
|
-
import { Client, Events } from '
|
|
33
|
+
```typescript
|
|
34
|
+
import { Client, Events, EmbedBuilder } from 'fluxer-selfbot';
|
|
21
35
|
|
|
22
|
-
|
|
36
|
+
// Zero configuration needed for self-bots!
|
|
37
|
+
const client = new Client();
|
|
23
38
|
|
|
24
|
-
client.on(Events.Ready, () =>
|
|
25
|
-
|
|
26
|
-
if (m.content === '!ping') await m.reply('Pong');
|
|
39
|
+
client.on(Events.Ready, () => {
|
|
40
|
+
console.log(`🚀 Connected as ${client.user?.username}!`);
|
|
27
41
|
});
|
|
28
42
|
|
|
29
|
-
|
|
43
|
+
client.on(Events.MessageCreate, async (message) => {
|
|
44
|
+
if (message.content === '!ping') {
|
|
45
|
+
// Self-bot behavior: edit your own message instead of replying
|
|
46
|
+
await message.edit('🏓 **Pong!** My first self-bot message.');
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
// Use your user token
|
|
51
|
+
await client.login('YOUR_USER_TOKEN');
|
|
30
52
|
```
|
|
31
53
|
|
|
32
|
-
|
|
54
|
+
---
|
|
33
55
|
|
|
34
|
-
##
|
|
56
|
+
## 🛠️ Included Tools
|
|
35
57
|
|
|
36
|
-
|
|
58
|
+
No need to install multiple packages. Everything is re-exported from `fluxer-selfbot`:
|
|
37
59
|
|
|
38
|
-
|
|
60
|
+
- **`EmbedBuilder`**: Create beautiful rich embeds.
|
|
61
|
+
- **`Collection`**: Powerful data structures for caching.
|
|
62
|
+
- **`Events`**: Typed gateway event constants.
|
|
63
|
+
- **`PermissionsBitField`**: Easy permission handling.
|
|
64
|
+
- **`Routes`**: Full REST API route map.
|
|
39
65
|
|
|
40
|
-
|
|
41
|
-
# Dev server — http://localhost:3333
|
|
42
|
-
pnpm run docs:dev
|
|
66
|
+
---
|
|
43
67
|
|
|
44
|
-
|
|
45
|
-
pnpm run docs:build
|
|
46
|
-
|
|
47
|
-
# Preview the production build
|
|
48
|
-
pnpm run docs:preview
|
|
49
|
-
```
|
|
68
|
+
## ⚠️ Disclaimer
|
|
50
69
|
|
|
51
|
-
**
|
|
70
|
+
**Self-bots are against the Terms of Service of most messaging platforms.**
|
|
71
|
+
Using this library for self-botting on Fluxer or any other platform is at your own risk. The authors are not responsible for any account termination or consequences resulting from the use of this software.
|
|
52
72
|
|
|
53
|
-
|
|
54
|
-
- `docs:build` — Runs `generate:docs` (merges all packages into one JSON) then builds the site
|
|
55
|
-
- `docs:preview` — Serves the built site for testing
|
|
73
|
+
---
|
|
56
74
|
|
|
57
|
-
## License
|
|
75
|
+
## 📄 License
|
|
58
76
|
|
|
59
77
|
Apache-2.0
|