/fetch embed code - Extract Embed Code from Messages
The /fetch embed code command extracts the encoded data from Discord embed messages, allowing you to reuse or modify custom embeds.
Command Type
Context Menu Command - Message Context
This command appears when you right-click (or long-press on mobile) on a message.
How to Access
Desktop
- Right-click on a message with an embed
- Go to Apps menu
- Select fetch embed code
Mobile
- Long-press on a message with an embed
- Tap Apps or More
- Select fetch embed code
What It Does
The command:
- Analyzes the selected message
- Extracts embed/container data
- Converts to encoded format
- Returns the .rnze code
Response Format
Success Response
here's the .rnze code for that embed:
H4sIAAAAAAAA... (encoded code)
[mobile copy button]
With Mobile Copy
Click the mobile copy button to get the code in an ephemeral message for easy copying.
Supported Embed Types
V2 Containers
- Discord container components
- Text displays
- Separators
- Sections with thumbnails
- Media galleries
What Works
- Messages created with
/embed-say - Custom container embeds
- Component-based messages
- Messages with encoded embed data
What Does NOT Work
- Standard Discord embeds (rich embeds)
- Normal message content
- Messages without container components
- Bot embeds not using the RynZen system
How It Works
Extraction Process
Find Container
- Locates V2 container component in message
- Validates component type
Reverse Engineer
- Extracts accent color
- Parses all components
- Converts to state object
Encode
- Converts to JSON
- Compresses with pako/deflate
- Base64 encodes
- Makes URL-safe (base64url)
Return
- Displays in code block
- Provides mobile copy button
- 10-minute timeout
Step-by-Step Guide
1. Find Target Message
Locate a message with a custom embed you want to copy.
2. Open Context Menu
- Desktop: Right-click the message
- Mobile: Long-press the message
3. Select Command
- Go to Apps menu
- Click fetch embed code
4. Get Code
- View the encoded code
- Click mobile copy if needed
- Save for reuse
5. Reuse Code
Use with /embed-say:
/embed-say code:YOUR_EXTRACTED_CODE
Use Cases
Embed Sharing
- Share custom embed designs
- Distribute embed templates
- Collaborate on designs
Backup
- Save embed configurations
- Archive important embeds
- Preserve complex designs
Modification
- Extract and modify existing embeds
- Create variations of designs
- Test different configurations
Learning
- Study how embeds are constructed
- Understand component structure
- Learn from existing designs
Features
Mobile Copy Button
- Sends code in ephemeral message
- Easy to copy on mobile devices
- Preserves exact formatting
- 10-minute timeout
Error Handling
- Detects invalid embeds
- Shows clear error messages
- Handles missing components
Compression
- Uses pako/deflate compression
- Efficient encoding
- URL-safe output
Technical Details
Encoding Process
1. Extract container data
2. Convert to state object
3. JSON stringify
4. Compress with pako.deflate()
5. Base64 encode
6. Convert to base64url (URL-safe)
Supported Components
| Component Type | Extracted Data |
|---|---|
| TextDisplay | Content lines |
| Separator | Divider settings |
| Section | Text + thumbnail URL |
| MediaGallery | Image URLs array |
Color Format
- Extracts accent_color
- Converts to hex (#RRGGBB)
- Preserves in state object
Troubleshooting
"this is a normal embed"
Cause: Message contains standard Discord embed, not a V2 container
Solution:
- This command only works with container embeds
- Use on messages from
/embed-say - Cannot extract from normal rich embeds
"no embed found"
Cause: Message has no embed or container
Solution:
- Select a different message
- Ensure message has embed content
- Check message actually has components
"failed to convert"
Cause: Embed structure is invalid or corrupted
Solution:
- Try a different message
- Embed may be malformed
- Contact embed creator
Limitations
Collector Timeout
- Button expires after 10 minutes
- Must copy code before timeout
- Need to re-run command after expiry
Component Support
- Only supports RynZen embed components
- Does not work with all Discord embed types
- Limited to container-based embeds
Code Validity
- Extracted codes only work with
/embed-say - Cannot be used elsewhere
- Specific to RynZen system
Example Workflow
1. Find Embed
You see a beautiful embed in a channel.
2. Extract Code
Right-click → Apps → fetch embed code
→ Get: H4sIAAAAAAAA...
3. Save Code
Copy the code for later use.
4. Reuse
/embed-say code:H4sIAAAAAAAA...
→ Same embed appears!
Related Commands
/embed-say- Send custom embed messages/say-embed- Alternative embed sender/say- Send anonymous messages
Tips
For Mobile Users
- Always use the mobile copy button
- Ephemeral message is easier to copy
- Prevents formatting issues
For Designers
- Extract your own embeds for backup
- Create a library of codes
- Share with team members
For Users
- Only works with RynZen embeds
- Not for normal Discord embeds
- Save codes you want to reuse
written and maintained by mineogo and qwen
