Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Fixed an STUPID PLACEMENT ERROR
Browse files Browse the repository at this point in the history
THANKS VISUAL STUDIO
  • Loading branch information
SteamingMutt authored and SteamingMutt committed Nov 29, 2015
1 parent 8b4be69 commit 1a0e897
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions discord_bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,12 +571,13 @@ bot.on("message", function (msg) {
}
var description = commands[cmd].description;
if(description){
var msgArray = [];
msgArray.push("```");
msgArray.push(info);
msgArray.push("```");
bot.sendMessage(msg.author,msgArray);
info += "\n\t" + description;
}
var msgArray = [];
msgArray.push("```");
msgArray.push(info);
msgArray.push("```");
bot.sendMessage(msg.author,msgArray);
}
}
else if(cmd) {
Expand Down

0 comments on commit 1a0e897

Please sign in to comment.