mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-20 13:50:39 +02:00
mini update help ans add sync
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = {
|
||||
game: [],
|
||||
gestion: [],
|
||||
utils: [],
|
||||
other: [],
|
||||
};
|
||||
|
||||
let liste = [];
|
||||
@@ -62,8 +63,10 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
for (const command of liste) {
|
||||
if (command.category) {
|
||||
if (command.category && categories[command.category]) {
|
||||
categories[command.category].push({ name: command.name, description: command.description, emote: command.emote, utilisation: command.utilisation});
|
||||
} else {
|
||||
categories['other'].push({ name: command.name, description: command.description, emote: command.emote, utilisation: command.utilisation});
|
||||
}
|
||||
}
|
||||
let totalCommands = liste.length
|
||||
|
||||
Reference in New Issue
Block a user