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 CHANGED
@@ -1,59 +1,77 @@
1
- # @fluxerjs/core
1
+ # 🚀 fluxer-selfbot
2
2
 
3
- [![CI](https://github.com/fluxerjs/core/actions/workflows/ci.yml/badge.svg)](https://github.com/fluxerjs/core/actions/workflows/ci.yml)
4
- [![CodeQL](https://github.com/fluxerjs/core/actions/workflows/codeql.yml/badge.svg)](https://github.com/fluxerjs/core/actions/workflows/codeql.yml)
5
- [![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/fluxerjs/core?utm_source=oss&utm_medium=github&utm_campaign=fluxerjs%2Fcore&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)](https://coderabbit.ai)
6
- [![npm version](https://img.shields.io/npm/v/@fluxerjs/core.svg)](https://www.npmjs.com/package/@fluxerjs/core)
7
- [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](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
- SDK for building bots on [Fluxer](https://fluxer.app).
5
+ [![npm version](https://img.shields.io/npm/v/fluxer-selfbot.svg?style=flat-square)](https://www.npmjs.com/package/fluxer-selfbot)
6
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg?style=flat-square)](LICENSE)
10
7
 
11
- ## Install
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
- npm install @fluxerjs/core
24
+ # Using Bun (Recommended)
25
+ bun add fluxer-selfbot
26
+
27
+ # Using npm
28
+ npm install fluxer-selfbot
15
29
  ```
16
30
 
17
- ## Usage
31
+ ### Basic Self-bot Example
18
32
 
19
- ```javascript
20
- import { Client, Events } from '@fluxerjs/core';
33
+ ```typescript
34
+ import { Client, Events, EmbedBuilder } from 'fluxer-selfbot';
21
35
 
22
- const client = new Client({ intents: 0 });
36
+ // Zero configuration needed for self-bots!
37
+ const client = new Client();
23
38
 
24
- client.on(Events.Ready, () => console.log('Ready'));
25
- client.on(Events.MessageCreate, async (m) => {
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
- await client.login(process.env.FLUXER_BOT_TOKEN);
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
- See [`examples/ping-bot.js`](./examples/ping-bot.js) for voice, embeds, and more.
54
+ ---
33
55
 
34
- ## Documentation
56
+ ## 🛠️ Included Tools
35
57
 
36
- The docs site is a custom Vue app that pulls API docs from the SDK via a custom docgen (TypeScript Compiler API).
58
+ No need to install multiple packages. Everything is re-exported from `fluxer-selfbot`:
37
59
 
38
- **From the repo root:**
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
- ```bash
41
- # Dev server — http://localhost:3333
42
- pnpm run docs:dev
66
+ ---
43
67
 
44
- # Generate docs JSON + build the site
45
- pnpm run docs:build
46
-
47
- # Preview the production build
48
- pnpm run docs:preview
49
- ```
68
+ ## ⚠️ Disclaimer
50
69
 
51
- **What each command does:**
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
- - `docs:dev` — Start Vite dev server; loads `public/docs/main.json` at runtime
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