aboutsummaryrefslogtreecommitdiff
path: root/commands/about.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-02 22:05:20 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-02 22:05:20 -0500
commitc576ed4e454fe6b4974e7ad873670e3adc9d0a96 (patch)
treeae6f06f8f21f78d5023019b64772f484f5377fb7 /commands/about.js
parente0fe64b06c0eb8b92578ae1bf5a166f8d633c9b3 (diff)
downloadDLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.tar.gz
DLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.tar.bz2
DLAP-c576ed4e454fe6b4974e7ad873670e3adc9d0a96.zip
Fixes to various things
Diffstat (limited to 'commands/about.js')
-rw-r--r--commands/about.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/about.js b/commands/about.js
index e102a3e..23c750e 100644
--- a/commands/about.js
+++ b/commands/about.js
@@ -22,7 +22,7 @@
import { EmbedBuilder, version, ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder } from 'discord.js';
// import npmPackage from '../package.json' assert { type:'json' }
import { readFileSync } from 'node:fs';
-const npmPackage = JSON.parse(readFileSync('./package.json'));
+const npmPackage = JSON.parse(readFileSync('./package.json', 'utf-8'));
export default {
data: new SlashCommandBuilder()