mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 23:05:04 +02:00
Just remove spaces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user