Discord Bot Maker

Discord Bot Maker

Not enough ratings
ADVANCED CLEAR SYSTEM
By Marsheyo
Clear System made by Marsheyo

For the proper operation of the system, you need mods from discord: DBM Mods!!
Such a Discord Bot Maker is not supported by the creators of the program!

What is it about?
It is a script that allows you to clear messages on a given text channel with a bot prefix.
The script is secured with the message management permission and users who do not have permission cannot use the command

You want more? Like and highlight this post! Thanks!
   
Award
Favorite
Favorited
Unfavorite
Script
{
"name": "clear",
"permissions": "MANAGE_MESSAGES",
"restriction": "1",
"_id": "AEPYs",
"actions": [
{
"comment": "Checks the parameters of command",
"color": "#00ff00",
"name": "Comment"
},
{
"condition": "0",
"comparison": "0",
"value": "0",
"iftrue": "0",
"iftrueVal": "",
"iffalse": "2",
"iffalseVal": "9",
"name": "Check Parameters"
},
{
"title": "",
"author": "Error!",
"color": "#eb3434",
"url": "",
"authorIcon": "https://i.imgur.com/g8oNTNT.png",
"authorUrl": "",
"imageUrl": "",
"thumbUrl": "",
"timestamp": "true",
"debug": "false",
"text": "",
"year": "",
"month": "",
"day": "",
"hour": "",
"minute": "",
"second": "",
"storage": "1",
"varName": "error_clear",
"name": "Create Embed Message"
},
{
"storage": "1",
"varName": "error_clear",
"message": "The number of messages to be deleted has not been specified.\nTry again, writing: **[prefix] <1-99>**",
"name": "Set Embed Description"
},
{
"storage": "1",
"varName": "error_clear",
"message": "Message z",
"footerIcon": "",
"name": "Set Embed Footer"
},
{
"storage": "1",
"varName": "error_clear",
"channel": "0",
"varName2": "",
"storage3": "0",
"varName3": "",
"iffalse": "0",
"iffalseVal": "",
"messageContent": "",
"name": "Send Embed Message"
},
{
"time": "5",
"measurement": "1",
"name": "Wait"
},
{
"storage": "1",
"varName": "error_clear",
"reason": "",
"name": "Delete Message"
},
{
"name": "End Action Sequence"
},
{
"comment": "Start command and deletes messages",
"color": "#00ff00",
"name": "Comment"
},
{
"info": "1",
"infoIndex": "1",
"storage": "1",
"varName": "number",
"name": "Store Command Params"
},
{
"storage": "0",
"varName": "",
"reason": "",
"name": "Delete Message"
},
{
"channel": "0",
"count": "${tempVars(\"number\")}",
"condition": "0",
"custom": "",
"varName": "",
"name": "Delete Bulk Messages"
},
{
"title": "",
"author": "Success!",
"color": "#46eb34",
"url": "",
"authorIcon": "https://i.imgur.com/eu9z9TH.png",
"authorUrl": "",
"imageUrl": "",
"thumbUrl": "",
"timestamp": "true",
"debug": "false",
"text": "",
"year": "",
"month": "",
"day": "",
"hour": "",
"minute": "",
"second": "",
"storage": "1",
"varName": "embed_success",
"name": "Create Embed Message"
},
{
"storage": "1",
"varName": "embed_success",
"message": "Removed **${tempVars(\"number\")}** messages.",
"name": "Set Embed Description"
},
{
"storage": "1",
"varName": "embed_success",
"message": "Message z",
"footerIcon": "",
"name": "Set Embed Footer"
},
{
"storage": "1",
"varName": "embed_success",
"channel": "0",
"varName2": "",
"storage3": "1",
"varName3": "success_msg",
"iffalse": "0",
"iffalseVal": "",
"messageContent": "",
"name": "Send Embed Message"
},
{
"time": "5",
"measurement": "1",
"name": "Wait"
},
{
"storage": "1",
"varName": "success_msg",
"reason": "",
"name": "Delete Message"
},
{
"name": "End Action Sequence"
}
],
"comType": "0"
}
1 Comments
NavaRayUK 15 Nov, 2021 @ 4:14am 
Don't work in the beta you would have to change the jump 2 to extra actions