forked from engineering/cloudservices
Update cwg_data.ts
parent
13faf9b4f9
commit
326757130b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue