From e1ef8d08a68f74b4973c102b56ac5ac7818174d7 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 4 Feb 2020 18:14:03 -0500 Subject: [PATCH] Fix --- commands/sp-games/mad-libs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/sp-games/mad-libs.js b/commands/sp-games/mad-libs.js index 4d1e3ce5..88540302 100644 --- a/commands/sp-games/mad-libs.js +++ b/commands/sp-games/mad-libs.js @@ -50,7 +50,7 @@ module.exports = class MadLibsCommand extends Command { this.client.games.delete(msg.channel.id); let finished = lib.text; for (let i = 0; i < choices.length; i++) { - finished = finished.replace(new RegExp(`{${i}}`, 'g'), `**${choices[i]}**`); + finished = finished.replace(new RegExp(`\\{${i}\\}`, 'g'), `**${choices[i]}**`); } return msg.say(finished); } catch (err) {