aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/price.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/price.ts')
-rw-r--r--src/commands/utilities/price.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/price.ts b/src/commands/utilities/price.ts
index 06afe3b..6f08aaa 100644
--- a/src/commands/utilities/price.ts
+++ b/src/commands/utilities/price.ts
@@ -1,4 +1,4 @@
-import { ArgType, BotCommand, colors, emojis, format, oxford, type CommandMessage } from '#lib';
+import { ArgType, BotCommand, colors, emojis, format, formatList, type CommandMessage } from '#lib';
import assert from 'assert/strict';
import { ApplicationCommandOptionType, AutocompleteInteraction, EmbedBuilder } from 'discord.js';
import { default as Fuse } from 'fuse.js';
@@ -68,7 +68,7 @@ export default class PriceCommand extends BotCommand {
if (bazaar?.success === false) errors.push('bazaar');
if (errors.length) {
- priceEmbed.setFooter({ text: `Could not fetch data for ${oxford(errors, 'and')}` });
+ priceEmbed.setFooter({ text: `Could not fetch data for ${formatList(errors, 'and')}` });
}
// create a set from all the item names so that there are no duplicates for the fuzzy search