Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Very mini update.
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Jul 28, 2021
1 parent c7e4e97 commit 28bd3e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions commands/extra/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ module.exports = {
run: async(client, message, args) => {
let ramcolor = colourRandom();
let img = await new DIG.Color().getImage(ramcolor);
let attach = new MessageAttachment(img, "color.png");
let attachment = new MessageAttachment(img, "color.png");
const embed = new MessageEmbed()
.setColor(ramcolor)
.setTitle("Random Color")
.setDescription(['Your color is `',ramcolor,'`'].join(''))
message.channel.send(embed);
message.channel.send(attach);
.setImage('attachment://color.png')
message.channel.send({ embed, files: [attachment] });
}
}
8 changes: 4 additions & 4 deletions start.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@ECHO OFF
title ServerSMP - BOT
:Minecraft
:Robot
echo.
echo ====================================
echo Starting the server up. Please allow
echo the server some time to start.
echo Starting the bot up. Please allow
echo the bot some time to start.
echo ====================================
echo.
node index.js
Expand All @@ -18,4 +18,4 @@ echo ====================================
echo.
timeout 5
ping 1.1.1.1 -n 1 -w 3000 >nul
goto Minecraft
goto Robot

0 comments on commit 28bd3e3

Please sign in to comment.