How grejlovescode/grej-discord-server-cloner works
GREJ Server Cloner is an interactive Python selfbot for copying selected Discord server structure and content into a server the user controls. The principal workflow is: configure authentication and source/target IDs in the terminal UI, choose clone and cleanup options, then run the cloner to fetch source data, optionally clear the target, and recreate selected resources. Distinct stages include server settings, roles, channel hierarchy and permissions, emojis, stickers, and optional webhook-based message copying. The shared API wrapper handles Discord REST calls, rate-limit retries, and CDN downloads. README features are included where implementation excerpts are incomplete.
Main entry points: api.py Discord API Client · cloner.py Clone Runner · main.py Interactive TUI
Components 15
Setup and Interface
- Interactive TUI
main.py - Saved Config
main.py
Clone Orchestration
- Clone Runner
cloner.py - Target Cleanup
cloner.py
Clone Resources
- Server Settings
cloner.py - Roles
cloner.py - Categories and Channels
cloner.py - Permission Overwrites
cloner.py - Emojis
cloner.py - Stickers
cloner.py - Message Copying
cloner.py
External Access
- Discord API Client
api.py - Discord
- Discord CDN
Other components
- Operator
Connections 21
- Operator → Interactive TUI: provides choices
- Interactive TUI → Saved Config: loads and saves
- Interactive TUI → Discord API Client: validates token
- Interactive TUI → Clone Runner: starts run
- Clone Runner → Target Cleanup: optionally clears
- Clone Runner → Server Settings: dispatches
- Clone Runner → Roles: dispatches
- Clone Runner → Categories and Channels: dispatches
- Clone Runner → Emojis: dispatches
- Clone Runner → Stickers: dispatches
- Clone Runner → Message Copying: optionally dispatches
- Categories and Channels → Permission Overwrites: maps overwrites
- Target Cleanup → Discord API Client: deletes resources
- Server Settings → Discord API Client: reads and updates
- Roles → Discord API Client: reads and creates
- Categories and Channels → Discord API Client: reads and creates
- Emojis → Discord API Client: reads and creates
- Stickers → Discord API Client: reads and uploads
- Message Copying → Discord API Client: reads and reposts
- Discord API Client → Discord: sends REST requests
- Discord API Client → Discord CDN: downloads assets