aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/whoHasRole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/whoHasRole.ts')
-rw-r--r--src/commands/utilities/whoHasRole.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/whoHasRole.ts b/src/commands/utilities/whoHasRole.ts
index 9b12a1c..c01a0c3 100644
--- a/src/commands/utilities/whoHasRole.ts
+++ b/src/commands/utilities/whoHasRole.ts
@@ -4,8 +4,8 @@ import {
chunk,
colors,
emojis,
+ formatList,
OptArgType,
- oxford,
type CommandMessage,
type SlashMessage
} from '#lib';
@@ -60,7 +60,7 @@ export default class WhoHasRoleCommand extends BotCommand {
const title = `Members with ${
roles.length < 4
- ? oxford(
+ ? formatList(
rawRoles.map((r) => r.name),
'and'
)