update imports
This commit is contained in:
parent
4c3e5e635c
commit
5f6c498cb2
2 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,8 +36,6 @@ module.exports = class {
|
|||
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}`);
|
||||
|
||||
|
|
Loading…
Reference in a new issue