add /role_income edit

This commit is contained in:
stjet
2026-01-13 01:56:40 +00:00
parent e9c64d494f
commit 9a9a728949
4 changed files with 46 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ async function run(interaction: ChatInputCommandInteraction, found: CommandData,
}
try {
//admin stuff should be ideally handled by register.ts, but this is a fallback
//admin stuff should be ideally handled by register.ts, but this is a fallback (seemingly not handled by register.ts for some reason rn)
if (found.admin_only && !is_admin(interaction)) throw new BotError("Admin permission needed to run that command");
if (found.registered_only) {
await interaction.deferReply();