mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
msg.author.user doesn't exist
This commit is contained in:
2
index.js
2
index.js
@@ -123,7 +123,7 @@ function doPMCommand(msg, prefix) {
|
||||
|
||||
var cmds = client.cachedcommands.filter(cmd => cmd.alias == command);
|
||||
if (cmds.length > 0) {
|
||||
console.log("CMD:".green + " ".reset + msg.author.user.username.bold + "#".reset + msg.author.user.discriminator.reset + " " + prefix.grey + command.green.bold + " ".reset + msg.suffix + " | PM")
|
||||
console.log("CMD:".green + " ".reset + msg.author.username.bold + "#".reset + msg.author.discriminator.reset + " " + prefix.grey + command.green.bold + " ".reset + msg.suffix + " | PM")
|
||||
var reqcommand = require('./commands/' + cmds[0].file)
|
||||
msg.react('✅')
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user