diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-09-07 21:33:37 -0400 | 
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-09-07 21:33:37 -0400 | 
| commit | ed98ff7e2679f362f2657e77a6cf8dd3ce9b3d43 (patch) | |
| tree | 75a6ba3cf992c1d563ddb8042d4cd9b4278207b8 /src/commands/utilities/price.ts | |
| parent | 15b6988ccffc0a21a570bee7fcb8aabe6ffe08c7 (diff) | |
| download | tanzanite-master.tar.gz tanzanite-master.tar.bz2 tanzanite-master.zip | |
Diffstat (limited to 'src/commands/utilities/price.ts')
| -rw-r--r-- | src/commands/utilities/price.ts | 4 | 
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 | 
