Merge pull request #37 from MSFTserver/patch-10

console log message update [done]
This commit is contained in:
filipnyquist 2017-10-27 17:44:22 +02:00 committed by GitHub
commit 878fa70178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ function checkMessageForCommand(msg, isEdit) {
//check if message is a command
if (msg.author.id != bot.user.id && msg.content.startsWith(config.prefix)) {
console.log(
"treating " + msg.content + " from " + msg.author + " as command"
"treating " + msg.content + " from UserID:" + msg.author + " || UserName: " + msg.author.username + " as command"
);
var cmdTxt = msg.content.split(" ")[0].substring(config.prefix.length);
var suffix = msg.content.substring(