diff --git a/src/commands/cwg_data.ts b/src/commands/cwg_data.ts index bee8f2f..f916223 100644 --- a/src/commands/cwg_data.ts +++ b/src/commands/cwg_data.ts @@ -40,6 +40,7 @@ export default class CWG_Data extends Command { this.client.signale.log(embeds); // @ts-ignore if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] }); + // @ts-ignore return createPaginationEmbed(message, this.client, embeds, {}); } catch (error) { return this.client.util.handleError(error, message, this); diff --git a/src/commands/help.ts b/src/commands/help.ts index c02d6ac..6ad81aa 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -42,6 +42,7 @@ export default class Help extends Command { }); // @ts-ignore if (cmdPages.length === 1) return message.channel.createMessage({ embed: cmdPages[0] }); + // @ts-ignore return createPaginationEmbed(message, this.client, cmdPages); } const resolved = await this.client.util.resolveCommand(args, message); diff --git a/src/commands/modlogs.ts b/src/commands/modlogs.ts index 7a5f78c..dc23c45 100644 --- a/src/commands/modlogs.ts +++ b/src/commands/modlogs.ts @@ -57,6 +57,7 @@ export default class Modlogs extends Command { // @ts-ignore msg.edit({ content: '', embed: embeds[0] }); } else { + // @ts-ignore createPaginationEmbed(message, this.client, embeds, {}, msg); } return msg;