Implement limbomode command

This commit is contained in:
2026-08-22 18:22:27 -04:00
parent 20465abcaa
commit a744a95307
2 changed files with 21 additions and 2 deletions
+11
View File
@@ -1,10 +1,21 @@
import type { Message } from "discord.js";
import type { Command } from "../../models";
import RoleService from "../../services/role";
export default {
name: "limbomode",
description: "Toggles on/off limbo mode. When limbo mode is on, new members will be placed in #limbo. When off, new members will be placed in #chat-and-shitpost.",
usage: ".limbomode [on|off]",
execute: async (message: Message) => {
const ogState = RoleService.limboMode;
if (message.content.includes("on"))
RoleService.limboMode = true;
else if (message.content.includes("off"))
RoleService.limboMode = false;
else
RoleService.limboMode = !RoleService.limboMode;
await message.reply(`limbomode: *${ogState}* -> **${RoleService.limboMode}**`);
}
} satisfies Command;