How devrock07/rockv3-selfbot works
RockV3 is a Discord selfbot with command features and a browser-based Rich Presence editor. Its main workflow starts with a Discord message: the message handler checks permissions, resolves and executes a command, and can forward execution logs to the web server. Separately, a browser can use the web interface to update the Discord activity; the server also streams command logs to connected clients. The README documents customizable activity types and real-time logs. Some frontend and command details are not shown in excerpts, so those connections are omitted where unverified.
Main entry points: messageCreate.js Message Routing · webServer.js Web Server · index.js Bot Entry · commandHandler.js Command Loader
Components 16
Bot Runtime
- Bot Entry
index.js - Message Routing
handlers/messageCreate.js - Command Loader
handlers/commandHandler.js - Ready Handler
handlers/ready.js - Crash Handler
handlers/crash-handler.js
Command Features
- Fun Commands
commands/fun - Info Commands
commands/info - Help Command
commands/help.js - Status Command
commands/status.js
Web RPC
- Web Server
handlers/webServer.js - Web Interface
public - Live Log Stream
handlers/webServer.js
Configuration
- Bot Configuration
config.js
Other components
- Discord User
- Browser User
- Discord
Connections 25
- Bot Entry → Message Routing: registers
index.js - Bot Entry → Command Loader: loads
index.js - Bot Entry → Ready Handler: registers
index.js - Bot Entry → Crash Handler: registers
index.js - Bot Entry → Web Server: starts
index.js - Bot Entry → Bot Configuration: reads
index.js - Discord User → Message Routing: sends message
handlers/messageCreate.js - Message Routing → Command Loader: resolves command
handlers/messageCreate.js - Command Loader → Fun Commands: loads commands
handlers/commandHandler.js - Command Loader → Info Commands: loads commands
handlers/commandHandler.js - Message Routing → Fun Commands: dispatches
handlers/messageCreate.js - Message Routing → Info Commands: dispatches
handlers/messageCreate.js - Message Routing → Help Command: dispatches
handlers/messageCreate.js - Message Routing → Status Command: dispatches
handlers/messageCreate.js - Message Routing → Web Server: posts command logs
handlers/messageCreate.js - Status Command → Discord: sets activity
commands/status.js - Web Server → Bot Configuration: reads settings
handlers/webServer.js - Web Server → Web Interface: serves files
handlers/webServer.js - Browser User → Web Server: updates RPC
README.md - Web Server → Discord: sets activity
handlers/webServer.js - Web Server → Live Log Stream: emits logs
handlers/webServer.js - Live Log Stream → Browser User: streams logs
README.md - Message Routing → Discord: handles events
handlers/messageCreate.js - Ready Handler → Discord: reads client state
handlers/ready.js - Crash Handler → Discord: checks guild membership
handlers/crash-handler.js