fix pager issue
parent
8ce7ff1f3d
commit
c3dea5b1df
|
@ -52,6 +52,7 @@ export default class Page extends Command {
|
|||
message.delete();
|
||||
const loading = await this.loading(message.channel, 'Paging...');
|
||||
const sender = await this.client.db.PagerNumber.findOne({ individualAssignID: message.author.id });
|
||||
if (!sender) return this.error(message.channel, 'You do not have a Pager Numer.');
|
||||
const page = await this.page(args[0], sender.num, args[1], message, args[2] ? args.slice(2).join(' ') : undefined);
|
||||
if (page.status === true) {
|
||||
loading.delete();
|
||||
|
|
Loading…
Reference in New Issue