clean dossier commands et correction quelque commands

This commit is contained in:
Puechberty Arthur
2026-04-10 02:40:26 +02:00
parent 3e69185296
commit 572cfa17b2
139 changed files with 687 additions and 195 deletions
+132
View File
@@ -1,146 +1,278 @@
use crate::commands::command_contract::{CommandMetadata, CommandSpec};
#[path = "admin/addrole.rs"]
pub mod addrole;
pub mod admin_common;
pub mod admin_service;
pub mod advanced_tools;
#[path = "permissions/alias.rs"]
pub mod alias;
#[path = "general/alladmins.rs"]
pub mod alladmins;
#[path = "general/allbots.rs"]
pub mod allbots;
#[path = "permissions/allperms.rs"]
pub mod allperms;
#[path = "admin/autobackup.rs"]
pub mod autobackup;
#[path = "admin/autoconfiglog.rs"]
pub mod autoconfiglog;
#[path = "admin/autoreact.rs"]
pub mod autoreact;
#[path = "admin/backup.rs"]
pub mod backup;
#[path = "admin/ban.rs"]
pub mod ban;
#[path = "admin/banlist.rs"]
pub mod banlist;
#[path = "general/banner.rs"]
pub mod banner;
#[path = "admin/bl.rs"]
pub mod bl;
#[path = "admin/blinfo.rs"]
pub mod blinfo;
#[path = "admin/boostembed.rs"]
pub mod boostembed;
#[path = "general/boosters.rs"]
pub mod boosters;
#[path = "admin/boostlog.rs"]
pub mod boostlog;
#[path = "general/botadmins.rs"]
pub mod botadmins;
pub mod botconfig_common;
pub mod botconfig_service;
#[path = "admin/bringall.rs"]
pub mod bringall;
#[path = "admin/button.rs"]
pub mod button;
#[path = "general/calc.rs"]
pub mod calc;
#[path = "permissions/change.rs"]
pub mod change;
#[path = "permissions/changeall.rs"]
pub mod changeall;
#[path = "general/channel.rs"]
pub mod channel;
#[path = "general/choose.rs"]
pub mod choose;
#[path = "admin/cleanup.rs"]
pub mod cleanup;
#[path = "admin/clear_all_sanctions.rs"]
pub mod clear_all_sanctions;
#[path = "admin/clear_bl.rs"]
pub mod clear_bl;
#[path = "admin/clear_messages.rs"]
pub mod clear_messages;
#[path = "admin/clear_owners.rs"]
pub mod clear_owners;
#[path = "permissions/clear_perms.rs"]
pub mod clear_perms;
#[path = "admin/clear_sanctions.rs"]
pub mod clear_sanctions;
#[path = "admin/cmute.rs"]
pub mod cmute;
pub mod command_contract;
pub mod common;
#[path = "profile/compet.rs"]
pub mod compet;
#[path = "admin/create.rs"]
pub mod create;
#[path = "permissions/del.rs"]
pub mod del;
#[path = "admin/del_sanction.rs"]
pub mod del_sanction;
#[path = "admin/delrole.rs"]
pub mod delrole;
#[path = "admin/derank.rs"]
pub mod derank;
#[path = "profile/discussion.rs"]
pub mod discussion;
#[path = "profile/dnd.rs"]
pub mod dnd;
#[path = "admin/embed.rs"]
pub mod embed;
#[path = "general/emoji.rs"]
pub mod emoji;
#[path = "admin/end.rs"]
pub mod end;
#[path = "admin/giveaway.rs"]
pub mod giveaway;
#[path = "general/help.rs"]
pub mod help;
#[path = "permissions/helpsetting.rs"]
pub mod helpsetting;
#[path = "admin/hide.rs"]
pub mod hide;
#[path = "admin/hideall.rs"]
pub mod hideall;
#[path = "profile/idle.rs"]
pub mod idle;
#[path = "profile/invisible.rs"]
pub mod invisible;
#[path = "admin/invite.rs"]
pub mod invite;
#[path = "admin/join.rs"]
pub mod join;
#[path = "admin/kick.rs"]
pub mod kick;
#[path = "admin/leave.rs"]
pub mod leave;
#[path = "admin/leave_settings.rs"]
pub mod leave_settings;
#[path = "profile/listen.rs"]
pub mod listen;
#[path = "general/loading.rs"]
pub mod loading;
#[path = "admin/lock.rs"]
pub mod lock;
#[path = "admin/lockall.rs"]
pub mod lockall;
pub mod logs_service;
#[path = "permissions/mainprefix.rs"]
pub mod mainprefix;
#[path = "admin/massiverole.rs"]
pub mod massiverole;
#[path = "general/member.rs"]
pub mod member;
#[path = "admin/messagelog.rs"]
pub mod messagelog;
pub mod moderation_tools;
#[path = "admin/modlog.rs"]
pub mod modlog;
#[path = "profile/mp.rs"]
pub mod mp;
#[path = "admin/mute.rs"]
pub mod mute;
#[path = "admin/mutelist.rs"]
pub mod mutelist;
#[path = "admin/newsticker.rs"]
pub mod newsticker;
#[path = "admin/nolog.rs"]
pub mod nolog;
#[path = "profile/online.rs"]
pub mod online;
#[path = "admin/owner.rs"]
pub mod owner;
#[path = "permissions/perms.rs"]
pub mod perms;
pub mod perms_service;
#[path = "general/pic.rs"]
pub mod pic;
#[path = "general/ping.rs"]
pub mod ping;
#[path = "profile/playto.rs"]
pub mod playto;
#[path = "permissions/prefix.rs"]
pub mod prefix;
#[path = "admin/raidlog.rs"]
pub mod raidlog;
#[path = "profile/remove_activity.rs"]
pub mod remove_activity;
#[path = "admin/renew.rs"]
pub mod renew;
#[path = "admin/reroll.rs"]
pub mod reroll;
#[path = "general/role.rs"]
pub mod role;
#[path = "admin/rolelog.rs"]
pub mod rolelog;
#[path = "general/rolemembers.rs"]
pub mod rolemembers;
#[path = "admin/sanctions.rs"]
pub mod sanctions;
#[path = "admin/say.rs"]
pub mod say;
#[path = "general/server.rs"]
pub mod server;
#[path = "general/serverinfo.rs"]
pub mod serverinfo;
#[path = "profile/set.rs"]
pub mod set;
#[path = "admin/set_boostembed.rs"]
pub mod set_boostembed;
#[path = "admin/set_modlogs.rs"]
pub mod set_modlogs;
#[path = "general/shadowbot.rs"]
pub mod shadowbot;
#[path = "general/snipe.rs"]
pub mod snipe;
#[path = "profile/stream.rs"]
pub mod stream;
#[path = "admin/sync.rs"]
pub mod sync;
#[path = "admin/tempban.rs"]
pub mod tempban;
#[path = "admin/tempcmute.rs"]
pub mod tempcmute;
#[path = "admin/tempmute.rs"]
pub mod tempmute;
#[path = "admin/temprole.rs"]
pub mod temprole;
#[path = "profile/theme.rs"]
pub mod theme;
#[path = "admin/unban.rs"]
pub mod unban;
#[path = "admin/unbanall.rs"]
pub mod unbanall;
#[path = "admin/unbl.rs"]
pub mod unbl;
#[path = "admin/uncmute.rs"]
pub mod uncmute;
#[path = "admin/unhide.rs"]
pub mod unhide;
#[path = "admin/unhideall.rs"]
pub mod unhideall;
#[path = "admin/unlock.rs"]
pub mod unlock;
#[path = "admin/unlockall.rs"]
pub mod unlockall;
#[path = "admin/unmassiverole.rs"]
pub mod unmassiverole;
#[path = "admin/unmute.rs"]
pub mod unmute;
#[path = "admin/unmuteall.rs"]
pub mod unmuteall;
#[path = "admin/unowner.rs"]
pub mod unowner;
#[path = "admin/untemprole.rs"]
pub mod untemprole;
#[path = "general/user.rs"]
pub mod user;
#[path = "logs/viewlogs.rs"]
pub mod viewlogs;
#[path = "general/vocinfo.rs"]
pub mod vocinfo;
#[path = "admin/voicekick.rs"]
pub mod voicekick;
#[path = "admin/ticket.rs"]
pub mod ticket;
#[path = "admin/tickets.rs"]
pub mod tickets;
#[path = "general/showpics.rs"]
pub mod showpics;
#[path = "admin/suggestion.rs"]
pub mod suggestion;
#[path = "admin/autopublish.rs"]
pub mod autopublish;
#[path = "admin/tempvoc.rs"]
pub mod tempvoc;
#[path = "admin/tempvoc_cmd.rs"]
pub mod tempvoc_cmd;
#[path = "admin/voicelog.rs"]
pub mod voicelog;
#[path = "admin/voicemove.rs"]
pub mod voicemove;
#[path = "admin/warn.rs"]
pub mod warn;
#[path = "admin/claim.rs"]
pub mod claim;
#[path = "admin/close.rs"]
pub mod close;
#[path = "admin/rename.rs"]
pub mod rename;
#[path = "admin/ticket_member.rs"]
pub mod ticket_member;
#[path = "profile/watch.rs"]
pub mod watch;
pub fn all_command_metadata() -> Vec<CommandMetadata> {