diff --git a/model/command/front-history-importing.js b/model/command/front-history-importing.js index c1b0028..f7212c3 100644 --- a/model/command/front-history-importing.js +++ b/model/command/front-history-importing.js @@ -41,9 +41,9 @@ class FrontHistoryImporting embed.setColor(APP_MAIN_COLOUR); embed.setAuthor('Front history importing', bot.user.displayAvatarURL({ dynamic: true })); embed.setDescription( - 'Importing your front history from PluralKit is planned in the future, but is currently impossible ' + - 'until APIv2 for PluralKit is finished. This feature also takes a lower priority than features unique ' + - 'to Simply Plural.' + 'Importing your front history to and from PluralKit is planned in the future, but is currently ' + + 'impossible to give any front entries to or take entries from PluralKit until APIv2 for PluralKit is ' + + 'finished. This feature also takes a lower priority than features unique to Simply Plural.' ); return message.channel.send(embed); diff --git a/model/command/help.js b/model/command/help.js index 5219c09..d5e9722 100644 --- a/model/command/help.js +++ b/model/command/help.js @@ -102,7 +102,7 @@ class HelpDialog this.stopAddingReactions = true; if (collection !== undefined && collection.size < 1) { - await this.postedMessage.reactions.removeAll(); + await this.postedMessage.reactions.removeAll().catch(error => Logger.warning(error.message)); return; } @@ -116,7 +116,7 @@ class HelpDialog if (this.postedMessage === null) { this.postedMessage = await this.originalMessage.channel.send(this.categoriesEmbed).catch(error => Logger.warning(error.toString())); } else { - await this.postedMessage.reactions.removeAll(); + await this.postedMessage.reactions.removeAll().catch(error => Logger.warning(error.message)); await this.postedMessage.edit('', this.categoriesEmbed); } @@ -125,7 +125,7 @@ class HelpDialog this.stopAddingReactions = false; for (let i = 0; i < this.usedEmojis.length && !this.stopAddingReactions; i++) { - await this.postedMessage.react(this.usedEmojis[i]); + await this.postedMessage.react(this.usedEmojis[i]).catch(error => Logger.warning(error.message)); } } @@ -134,7 +134,7 @@ class HelpDialog */ async listCommands(collection) { this.stopAddingReactions = true; - await this.postedMessage.reactions.removeAll(); + await this.postedMessage.reactions.removeAll().catch(error => Logger.warning(error.message)); if (collection.size < 1) { this.postedMessage.edit('Timed out! You may send the command again.'); @@ -166,7 +166,7 @@ class HelpDialog // 5 minutes this.postedMessage.awaitReactions(filter, { time: 300000, max: 1 }).then(this.listCategories.bind(this)).catch(Logger.exception); - await this.postedMessage.react('↩️'); + await this.postedMessage.react('↩️').catch(error => Logger.warning(error.message)); } }