mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-23 18:04:51 +02:00
corrige bug in tasks command
This commit is contained in:
@@ -20,9 +20,13 @@ module.exports = {
|
|||||||
|
|
||||||
const tasksChunks = tasks.match(/.{1,2000}/g);
|
const tasksChunks = tasks.match(/.{1,2000}/g);
|
||||||
|
|
||||||
tasksChunks.forEach((chunk: string) => {
|
if (tasksChunks) {
|
||||||
message.edit(`# Liste des tâches :${chunk}`);
|
tasksChunks.forEach((chunk: string) => {
|
||||||
});
|
message.edit(`# Liste des tâches :${chunk}`);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
message.edit(`# Liste des tâches :${tasks}`);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user