Finish roleinit command

This commit is contained in:
2026-08-22 18:04:08 -04:00
parent 669af5ad14
commit 20465abcaa
4 changed files with 17 additions and 13 deletions
+7 -2
View File
@@ -22,8 +22,13 @@ client.on("guildMemberAdd", async (guildMember) => {
client.on("messageCreate", async (message) => {
if (message.author.bot) return;
const command = CommandService.parse(message);
if (command) command.execute(message);
try {
const command = CommandService.parse(message);
if (command) command.execute(message);
}
catch (err) {
console.error(err);
}
});
Bun.cron("0 */6 * * *", async () => {