diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-07-06 20:28:04 +0200 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-07-06 20:28:04 +0200 |
commit | 22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b (patch) | |
tree | ab7f68cb9168d2b06ba144b48311370059cf5fac /src/commands/info/color.ts | |
parent | 544f94704c9dd37913de11eab67cd594d17fcd87 (diff) | |
download | tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.gz tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.bz2 tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.zip |
remove array from add*(...)
Diffstat (limited to 'src/commands/info/color.ts')
-rw-r--r-- | src/commands/info/color.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/color.ts b/src/commands/info/color.ts index 84c4b3c..7286c5c 100644 --- a/src/commands/info/color.ts +++ b/src/commands/info/color.ts @@ -63,12 +63,12 @@ export default class ColorCommand extends BushCommand { } const embed = new EmbedBuilder() - .addFields([ + .addFields( { name: '» Hexadecimal', value: color.toHexString() }, { name: '» Decimal', value: `${parseInt(color.toHex(), 16)}` }, { name: '» HSL', value: this.removePrefixAndParenthesis(color.toHslString()) }, { name: '» RGB', value: this.removePrefixAndParenthesis(color.toRgbString()) } - ]) + ) .setColor(parseInt(color.toHex(), 16)); return await message.util.reply({ embeds: [embed] }); |