corrected "message.send" to "message.say"
This commit is contained in:
parent
7235d32274
commit
f5bec6968f
1 changed files with 1 additions and 1 deletions
|
@ -25,6 +25,6 @@ module.exports = class dmCommand extends Command {
|
||||||
async run(message, { id, text }) {
|
async run(message, { id, text }) {
|
||||||
const user = this.client.users.get(id);
|
const user = this.client.users.get(id);
|
||||||
user.send(`**Message from the dev**\n${text}`)
|
user.send(`**Message from the dev**\n${text}`)
|
||||||
message.send('DM sent')
|
message.say('DM sent')
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue