Logo for Dummi26's Script Bot

Upvote Dummi26's Script Bot


This bot lets you create advanced scripts to manage your server or just to have fun. It aims to simulate OOP languages and supports (local/global) variables, functions, if/else/while/for, ...

Back to Dummi26's Script Bot

[LOW UPTIME - might fix when people actually use this bot]

Invite: https://discord.com/api/oauth2/authorize?client_id=898257133429207080&permissions=8&scope=bot
(In case the normal invite button doesn’t work)
Discord Server (With demos and support): https://www.discord.gg/RKuWGZdbYY

Example scripts (so you know what you’re dealing with - type “@[bot name] -stay” and put these scripts in the next line (shift+enter)):

(Get full documentation at https://github.com/Dummi26/dc-Dummi26s_Script_Bot)

----- Send messages -----

Main() {
send(“Test message”).setPinned(‘true’);// sends “Test message” and pins it in the channel.
}

----- Receive messages | needs -stay -----

OnMessage(dictionary data) {
send(data.get(“Content”));// gets the message’s content and sends it again
}

----- Resend images (possible edit them, but complicated and takes a while) | needs -stay -----

OnMessage(dictionary data) {
if ( data.get(“Attachments”).length() > ‘0’ ) {
data.get(“Attachments”).get(‘0’).get(“URL”).downloadImage().image();
}
}

Check out the home page for the full Discord Bot List.