update imports

This commit is contained in:
Emily 2020-10-08 13:06:46 +11:00
parent 4c3e5e635c
commit 5f6c498cb2
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ class Lastmessage extends Command {
}
async run (message, args, level) { // eslint-disable-line no-unused-vars
const lastMsg = await message.util.getLastMessage(message.channel);
const lastMsg = await this.client.functions.getLastMessage(message.channel);
message.channel.send(lastMsg);
}
}

View File

@ -35,8 +35,6 @@ module.exports = class {
while (args[0] &&args[0][0] === "-") {
message.flags.push(args.shift().slice(1));
}
message.util = this.client.messageUtil;
cmd.run(message, args, data);
this.client.logger.cmd(`Command ran: ${message.content}`);