mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +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('finish', () => this.client.dispatchers.delete(msg.guild.id));
|
||||||
dispatcher.once('error', () => this.client.dispatchers.delete(msg.guild.id));
|
dispatcher.once('error', () => this.client.dispatchers.delete(msg.guild.id));
|
||||||
await reactIfAble(msg, this.client.user, '🔉');
|
await reactIfAble(msg, this.client.user, '🔉');
|
||||||
for (const item of body.data) {
|
for (const item of flow.data) {
|
||||||
if (item.type !== 'text') continue;
|
if (item.type !== 'text') continue;
|
||||||
setTimeout(() => msg.say(item.text).catch(() => null), item.time * 1000);
|
setTimeout(() => msg.say(item.text).catch(() => null), item.time * 1000);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user