corrected "message.send" to "message.say"

This commit is contained in:
loicbersier 2018-10-02 19:51:42 +02:00
parent 7235d32274
commit f5bec6968f

View file

@ -25,6 +25,6 @@ module.exports = class dmCommand extends Command {
async run(message, { id, text }) {
const user = this.client.users.get(id);
user.send(`**Message from the dev**\n${text}`)
message.send('DM sent')
message.say('DM sent')
}
};