RynZen DoczRynZen Docz
🏠 Home
📚 Guide
💬 Discord
Source
🏠 Home
📚 Guide
💬 Discord
Source
  • 🚀 Getting Started

    • 🚀 Getting Started with RynZen
  • ⚔️ Raiding Commands

    • /r4id - Main Raid Command
    • /interaction-r4id - Interaction Raid Command
    • /auto-r4id - Automated Raid Panel
    • /poll - Poll Raid Command
    • /custom-r4id - Custom Message Raid
    • /cust-interaction-r4id - Custom Interaction Raid
    • /permcheck - Server Raidability Check
    • /r4id-bait - Fake Gift Bait Command
  • 🛠️ Utility & OSINT

    • /iplookup - IP Address Lookup
    • /ip - User Security Information
    • /1p-gr4bb3r - Grabber Management
    • /webcamxp - Live Webcam Viewer
    • /user-lookup (Deprecated)
    • /lookup - Discord Invite Link Lookup
    • /fetch embed code - Extract Embed Code from Messages
    • /steal-gif - GIF Converter
  • 🎉 Fun & Trolling

    • /femboyify - Femboy Transformation
    • /rep - Rape Command
    • /good - Goodboy/Goodgirl Command
    • /blame - Blame Users for Raids
    • /fakeban - Fake Ban Command
    • /ascii - ASCII Art Generator
    • /rickroll - Rickroll Command
    • /femboy-thighs - Femboy Thighs Command
    • /ad - Advertisement Command
  • 💬 Messaging

    • /say - Anonymous Message Sender
    • /embed-say - Custom Embed Message Sender
    • /say-embed - Alternative Embed Sender
    • /quick-say - Quick Message Sender
    • /dm - Anonymous Direct Message
    • /ghostping - Ghost Ping Command
  • 🛡️ Administration

    • /admin-tools - Admin Control Panel
    • /blacklist - User Blacklist Management
    • /token - RynZen Token Management
    • /leaderboard - Raid Leaderboard
    • /manage-presets - Message Preset Manager

/lookup - Discord Invite Link Lookup

The /lookup command analyzes Discord invite links and provides information about them.


Command Usage

/lookup <invite>

Options

OptionTypeRequiredDescription
inviteStringYesDiscord invite link or code to lookup

Supported Invite Formats

The command accepts various Discord invite formats:

Short Codes

abc123
xyz789

Full URLs

discord.gg/abc123
discord.com/invite/abc123
discordapp.com/invite/abc123

Alternative Domains

discord.io/abc123
discord.me/abc123
discord.li/abc123
invite.gg/abc123
dsc.gg/abc123

How It Works

URL Parsing

The command intelligently parses invite links:

  1. Extracts the invite code from any format
  2. Handles full URLs with or without https://
  3. Supports multiple domains (discord.gg, discord.com, etc.)
  4. Validates the code format

Code Extraction

Examples of code extraction:

InputExtracted Code
discord.gg/rynzenrynzen
https://discord.com/invite/abc123abc123
invite.gg/testtest
dsc.gg/serverserver

Features

Smart Parsing

  • Accepts partial URLs
  • Handles missing protocols
  • Supports all major invite domains
  • Extracts codes from complex URLs

Validation

  • Checks code format
  • Validates domain
  • Ensures proper structure

Use Cases

Invite Analysis

  • Verify invite link format
  • Extract code from complex URLs
  • Standardize invite links

Server Management

  • Clean up invite links
  • Validate user-submitted invites
  • Generate standardized invites

Security

  • Check invite link authenticity
  • Verify domain legitimacy
  • Prevent malformed invites

Example Usage

Basic Lookup

/lookup invite:discord.gg/rynzen
→ Extracts and validates: rynzen

Full URL

/lookup invite:https://discord.com/invite/abc123
→ Extracts: abc123

Alternative Domain

/lookup invite:dsc.gg/server
→ Extracts: server

Raw Code

/lookup invite:xyz789
→ Validates: xyz789

Supported Domains

The command recognizes these invite domains:

  • discord.gg
  • discord.com
  • discordapp.com
  • discord.io
  • discord.me
  • discord.li
  • invite.gg
  • dsc.gg

Error Handling

Invalid Format

If the invite format is invalid:

  • Command returns an error message
  • Suggests correct format
  • Provides examples

Unsupported Domain

If domain is not recognized:

  • Attempts to extract code anyway
  • Warns about unknown domain
  • May still work for valid codes

Technical Details

URL Processing

  1. Input Validation

    • Check if input exists
    • Trim whitespace
    • Validate characters
  2. URL Parsing

    • Add https:// if missing
    • Parse hostname
    • Extract pathname
  3. Code Extraction

    • Remove leading slash
    • Handle special cases
    • Return clean code

Pattern Matching

The command uses pattern matching for:

  • Discord.com invite paths
  • Domain-specific formats
  • Raw code detection

Limitations

Invite Validity

  • Does NOT check if invite is valid/expired
  • Does NOT fetch server information
  • Only validates format, not functionality

Rate Limits

  • Subject to Discord API limits
  • May fail with excessive use
  • Standard Discord restrictions apply

Related Commands

  • /user-lookup - Discord user information
  • /iplookup - IP address lookup
  • /1p-gr4bb3r - Create grabber links

written and maintained by mineogo and qwen

Prev
/user-lookup (Deprecated)
Next
/fetch embed code - Extract Embed Code from Messages