Just remove spaces

This commit is contained in:
Dragon Fire
2021-03-02 21:16:45 -05:00
parent 9f25015306
commit 0530322115
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class MindfulnessCommand extends Command {
await reactIfAble(msg, this.client.user, '🔉');
for (const item of flow.data) {
if (item.type !== 'quote') continue;
const text = item.text.replace(/\[pause \d+\]/gi, ' ');
const text = item.text.replace(/\[pause \d+\]/gi, '');
setTimeout(() => msg.say(text).catch(() => null), item.time * 1000);
}
return null;