Skip to content

Commit

Permalink
changed back to !buyable
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-TURBO committed Mar 17, 2024
1 parent 1eb8c76 commit f4f34f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mahoji/commands/dg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async function startCommand(channelID: string, user: MUser, floor: string | unde

async function buyCommand(user: MUser, name: string, quantity?: number) {
const buyable = dungBuyables.find(i => stringMatches(name, i.item.name));
if (!options.item) {
if (!buyable) {
return `${dungBuyables.map(i => `**${i.item.name}:** ${i.cost.toLocaleString()} tokens`).join('\n')}.`;
}

Expand Down

0 comments on commit f4f34f5

Please sign in to comment.