feat: Introduced an admin listing command and shop interaction module, replacing the sell command, and added a type-checking script.

This commit is contained in:
syntaxbullet
2025-12-15 22:52:26 +01:00
parent 727b63b4dc
commit 1d4263e178
5 changed files with 122 additions and 125 deletions

View File

@@ -13,6 +13,10 @@ const event: Event<Events.InteractionCreate> = {
await import("@/modules/trade/trade.interaction").then(m => m.handleTradeInteraction(interaction));
return;
}
if (interaction.customId.startsWith("shop_buy_") && interaction.isButton()) {
await import("@/modules/economy/shop.interaction").then(m => m.handleShopInteraction(interaction));
return;
}
}
if (!interaction.isChatInputCommand()) return;