mirror of
https://github.com/litruv/DAdmin.git
synced 2026-12-03 11:55:57 +11:00
msg.author.user doesn't exist
This commit is contained in:
1 parent
bf07e5efd6
commit
a880ad4231
1 file changed
+1
-1
@@ -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