From 326757130b06aab75bd067b7487f12faa1ade94a Mon Sep 17 00:00:00 2001 From: john doe <5-unknown@libraryofcode.org> Date: Fri, 27 Dec 2019 15:23:40 -0500 Subject: [PATCH 1/3] Update cwg_data.ts --- src/commands/cwg_data.ts | 1 + 1 file changed, 1 insertion(+) 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); From 4bd924bae49b805a14b4d11d1c4e996152e9e95c Mon Sep 17 00:00:00 2001 From: john doe <5-unknown@libraryofcode.org> Date: Fri, 27 Dec 2019 15:24:15 -0500 Subject: [PATCH 2/3] Update help.ts --- src/commands/help.ts | 1 + 1 file changed, 1 insertion(+) 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); From 4cdc217b6e9cfe4f5fe563970c487de8c33b997e Mon Sep 17 00:00:00 2001 From: john doe <5-unknown@libraryofcode.org> Date: Fri, 27 Dec 2019 15:24:54 -0500 Subject: [PATCH 3/3] Update modlogs.ts --- src/commands/modlogs.ts | 1 + 1 file changed, 1 insertion(+) 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;