Skip to content

Commit

Permalink
FIx(Embeds): Existing message being cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
gazmull committed Nov 11, 2019
1 parent 08eca18 commit b354b6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Embeds.ts
Expand Up @@ -306,9 +306,9 @@ export class Embeds extends PaginationEmbed<MessageEmbed> {
public async _loadList (callNavigation = true) {
const shouldIndicate = this.pageIndicator
? this.pages === 1
? null
? undefined
: `Page ${this.page} of ${this.pages}`
: null;
: undefined;

if (this.clientAssets.message)
await this.clientAssets.message.edit(shouldIndicate, { embed: this.currentEmbed });
Expand Down

0 comments on commit b354b6a

Please sign in to comment.