another one bites the dust

master
Kit Kasune 3 years ago
parent 74f180e9c3
commit 72faa7d239
  1. 2
      util/pagination.js
  2. 2
      util/ts/pagination.ts

@ -31,7 +31,7 @@ class Pagination {
this.message = tempm; this.message = tempm;
} }
} }
await this.message.edit({ content: '', embeds: [this.pages[page] await this.message.edit({ embeds: [this.pages[page]
.setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL()) .setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL())
.setTimestamp()] .setTimestamp()]
}); });

@ -36,7 +36,7 @@ export class Pagination {
else {this.message = tempm;} else {this.message = tempm;}
} }
await this.message.edit({content: '', embeds: [this.pages[page] await this.message.edit({embeds: [this.pages[page]
.setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL()) .setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL())
.setTimestamp()] .setTimestamp()]
}); });

Loading…
Cancel
Save