Finish roleinit command
This commit is contained in:
+7
-2
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user