DiscordBOT + API

DiscordBOT + API 4.5

No permission to download

Discord Embed Support

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Rich embed messages are now supported in the Sender API



1777734163581.png



▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

✨ Description

You can now send fully customized Discord embeds directly from your Rust Legacy server using the Sender plugin.
This includes titles, descriptions, fields, images, thumbnails, colors and more — all in real time.


▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Features


  • []Full embed support — titles, descriptions, colors, fields
    []Images & thumbnails — display visuals directly in Discord
    []Dynamic data — use player name, SteamID, server info
    []Webhook-style messages — clean and modern look
  • Easy integration — works directly from sender.js

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

⚙ How to use

Use the example command included in sender.js.
Simply configure your Discord bot and replace the channelid with your own channel ID.



  • []Open sender.js
    []Use the embed example command
    []Set your channelid
    []Execute the command in-game

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Example

The included example demonstrates a fully styled embed with player data, server info, and images — exactly like shown in the preview above.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬



Update: Dynamic Command System

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

✨ New Feature

You can now create Discord commands directly from the server using the new dynamic command system.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

⚙ How it works

  • /addcmd <name> <message> — create a new Discord command instantly
  • Command will be available in your Discord channel
  • No restart required

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Variables

You can use dynamic variables inside your command messages:

  • {author} — mentions the user
  • {userid} — Discord user ID

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Examples

CommandResult
/addcmd hello Hello {author}Mentions user with greeting
/addcmd id Your ID is {userid}Shows Discord ID


▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬