mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-03 23:36:23 +02:00
Merge branch 'main' of https://github.com/Tutur33/selfbot-discord
This commit is contained in:
@@ -17,7 +17,12 @@ module.exports = {
|
||||
rows.forEach((row: any) => {
|
||||
tasks += `\n- ${row.id} - ${row.name} : ${row.time} minutes`;
|
||||
});
|
||||
message.edit(`# Liste des tâches :${tasks}`);
|
||||
|
||||
const tasksChunks = tasks.match(/.{1,2000}/g);
|
||||
|
||||
tasksChunks.forEach((chunk: string) => {
|
||||
message.edit(`# Liste des tâches :${chunk}`);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user