This commit is contained in:
Dragon Fire
2021-03-01 22:28:46 -05:00
parent 7878de9c16
commit 5f1afddde2
+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = class MindfulnessCommand extends Command {
dispatcher.once('finish', () => this.client.dispatchers.delete(msg.guild.id));
dispatcher.once('error', () => this.client.dispatchers.delete(msg.guild.id));
await reactIfAble(msg, this.client.user, '🔉');
for (const item of body.data) {
for (const item of flow.data) {
if (item.type !== 'text') continue;
setTimeout(() => msg.say(item.text).catch(() => null), item.time * 1000);
}