chore: Remove unnecessary comments from profile command, trade interaction handler, inventory service, and scheduler.

This commit is contained in:
syntaxbullet
2025-12-13 14:28:36 +01:00
parent d34e872133
commit f96d81f8a3
4 changed files with 2 additions and 14 deletions

View File

@@ -31,10 +31,7 @@ KyokoClient.on(Events.MessageCreate, async message => {
KyokoClient.on(Events.InteractionCreate, async interaction => {
// Handle Trade Interactions
if (interaction.isButton() || interaction.isStringSelectMenu() || interaction.isModalSubmit()) {
if (interaction.customId.startsWith("trade_") || interaction.customId === "amount") { // "amount" is the text input id, usually interaction wrapper keeps customId of modal?
// Wait, ModalSubmitInteraction customId IS likely 'trade_money_modal'.
// The components INSIDE have IDs. The Interaction has the Modal ID.
// So checking startWith("trade_") is correct for the modal itself.
if (interaction.customId.startsWith("trade_") || interaction.customId === "amount") {
await import("@/modules/trade/trade.interaction").then(m => m.handleTradeInteraction(interaction));
return;
}