mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user