mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Fix
This commit is contained in:
@@ -45,7 +45,7 @@ module.exports = class MindfulnessCommand extends Command {
|
|||||||
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 flow.data) {
|
for (const item of flow.data) {
|
||||||
if (item.type !== 'text') continue;
|
if (item.type !== 'quote') continue;
|
||||||
setTimeout(() => msg.say(item.text).catch(() => null), item.time * 1000);
|
setTimeout(() => msg.say(item.text).catch(() => null), item.time * 1000);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user