diff --git a/src/interactions/leaderAdd.js b/src/interactions/leaderAdd.js index 016d2597..44e03068 100644 --- a/src/interactions/leaderAdd.js +++ b/src/interactions/leaderAdd.js @@ -76,6 +76,7 @@ const interactionLeaderAdd = (bot, message) => { }) .catch(err => { console.error(err) + bot.whisper(message, transcript('errors.general', { err })) }) }) } diff --git a/src/text.yml b/src/text.yml index 42e210d1..b8cea9dc 100644 --- a/src/text.yml +++ b/src/text.yml @@ -63,6 +63,7 @@ tutorial: Great! Now I'll roleplay what will happen right after your first meeting by posting in <#${this.channel}> errors: + general: 'Something went wrong: \`${this.err}\`' memory: - 'I think I’m suffering from amnesia... I’m trying to recall what we were talking about, but all that comes to mind is \`{${this.err}}\`' - 'Hmmm... something’s on the tip of my tongue, but all I can think is \`${this.err}\`'