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/whoHasRole.ts | |
parent | 15b6988ccffc0a21a570bee7fcb8aabe6ffe08c7 (diff) | |
download | tanzanite-ed98ff7e2679f362f2657e77a6cf8dd3ce9b3d43.tar.gz tanzanite-ed98ff7e2679f362f2657e77a6cf8dd3ce9b3d43.tar.bz2 tanzanite-ed98ff7e2679f362f2657e77a6cf8dd3ce9b3d43.zip |
Diffstat (limited to 'src/commands/utilities/whoHasRole.ts')
-rw-r--r-- | src/commands/utilities/whoHasRole.ts | 4 |
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' ) |