forked from syntaxbullet/AuroraBot-discord
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user