1
0
Fork 0

Update cwg_data.ts

refactor/models
john doe 2019-12-27 15:23:40 -05:00
parent 13faf9b4f9
commit 326757130b
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ export default class CWG_Data extends Command {
this.client.signale.log(embeds); this.client.signale.log(embeds);
// @ts-ignore // @ts-ignore
if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] }); if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] });
// @ts-ignore
return createPaginationEmbed(message, this.client, embeds, {}); return createPaginationEmbed(message, this.client, embeds, {});
} catch (error) { } catch (error) {
return this.client.util.handleError(error, message, this); return this.client.util.handleError(error, message, this);