summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-23 11:56:02 -0700
committer8cy <[email protected]>2020-04-23 11:56:02 -0700
commita1752afff4d5c014a1888b716da0a351fdc7ff21 (patch)
tree33d40d21e94a21c5fd2d0567d031a2e8fc4d3c45 /src/commands
parentDARLING in the FRANXX, v7.4.0 (diff)
downloaddep-core-a1752afff4d5c014a1888b716da0a351fdc7ff21.tar.xz
dep-core-a1752afff4d5c014a1888b716da0a351fdc7ff21.zip
change app.js bot path, get version from config.json, v7.4.1
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/utility/version.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/utility/version.ts b/src/commands/utility/version.ts
index e23514e..0de170f 100644
--- a/src/commands/utility/version.ts
+++ b/src/commands/utility/version.ts
@@ -1,6 +1,7 @@
import { Command, CommandoMessage } from 'discord.js-commando';
import emoji from 'emoji-random';
import { MessageEmbed } from 'discord.js';
+import config from '../../config.json';
export default class VersionUtility extends Command {
constructor(client) {
@@ -25,7 +26,7 @@ export default class VersionUtility extends Command {
m.edit(`** **`);
let emb = new MessageEmbed()
- .setDescription('uwufier\'s current build version is **v7.4.0**. ' + emoji.random())
+ .setDescription(`uwufier\'s current build version is **v${config['version']}**. ` + emoji.random())
.setColor(0xFFCC4D)
msg.channel.send(emb);