Details
Type: Text Command
DBM Version: 2.1.7 (latest)
Visibility: Public
Required Mods: Yes
Description
With this RAW you can send a message with your Bot with @silent
What´s @silent?
@silent will suppress a @Member-/@Role-/@everyone-/@here ping sound, so members won't get an active notification sound if you ping them. They will only see a new notification marker on the Server
Raw Data (JSON)
JSON Data
{
"name": "silent",
"permissions": "NONE",
"permissions2": "NONE",
"restriction": "1",
"_id": "UfNsp",
"actions": [
{
"comment": "<b>↓↓↓ INPUT <u>SOURCE CHANNEL</u> ↓↓↓</b>",
"color": "#ffff00",
"name": "Comment"
},
{
"channel": "0",
"varName": "",
"info": "1",
"storage": "1",
"varName2": "SentToThisChannelID",
"name": "Store Channel Info"
},
{
"comment": "<b>↑↑↑ INPUT <u>SOURCE CHANNEL</u> ↑↑↑</b>",
"color": "#ffff00",
"name": "Comment"
},
{
"comment": "<b>↓↓↓ MODIFY <u>YOUR MESSAGE</u> ↓↓↓</b>",
"color": "#ff0000",
"name": "Comment"
},
{
"channel": "0",
"varName": "",
"message": "Anything your want\nDoesn't matter if:\n- Normal Message\n- Embed\n- Buttons\n- Selects\n\nModify this as you like it",
"buttons": [],
"selectMenus": [],
"attachments": [],
"embeds": [],
"reply": true,
"ephemeral": false,
"tts": false,
"overwrite": false,
"dontSend": true,
"editMessage": "0",
"editMessageVarName": "",
"storage": "1",
"varName2": "sendthismessage",
"name": "Send Message"
},
{
"comment": "<b>↑↑↑ MODIFY <u>YOUR MESSAGE</u> ↑↑↑</b>",
"color": "#ff0000",
"name": "Comment"
},
{
"behavior": "1",
"interpretation": "1",
"code": "const { MessageActionRow, MessageButton } = require('discord.js');\nconst messageOptions = tempVars(\"sendthismessage\");\n\nconst channel = client.channels.cache.get(tempVars(\"SentToThisChannelID\"));\n\n// Add the flags to the message options\nmessageOptions.flags = 4096; \n\nchannel.send(messageOptions);\n\nActions.callNextAction(cache);\n",
"storage": "0",
"varName": "",
"name": "Run Script"
},
{
"name": "End Action Sequence"
}
],
"comType": "0"
}