From cf4dacf3c8f1b0b607f9c76d727a83eb23df1e14 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 10:11:54 -0600 Subject: [PATCH] Moved version and build to config file, edited start to support it. --- config.json | 6 +++++- start.js | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config.json b/config.json index 85e3bc9..45fca20 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,8 @@ { "prefix": "n!", - "ownerID": "309427567004483586" + + "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XFR9Mg.MpSy0w6Gqy72nGsfIEH8opOGn8A", + "ownerID": "309427567004483586", + "release": "anitrox_ptb", + "build": "Public Test Release 6, build 493" } diff --git a/start.js b/start.js index cb191f5..b082155 100644 --- a/start.js +++ b/start.js @@ -1,10 +1,10 @@ console.log('Preparing to start!') const fs = require('fs'); const Discord = require('discord.js'); -const { prefix, token } = require('./config.json'); +const { build, release, prefix, token } = require('./config.json'); +const { denied, error, info, success, warning } = require('./icons.json'); const os = require("os"); -const version = "build 467"; -const release = "anitrox_ptb" + const activities_list = [ "with np!help", "Where am I?", @@ -18,7 +18,7 @@ const activities_list = [ "on Sophie's main PC- wait shoot she's coming", "btw I use Debian linux", "Watching you", - "Running " + release + " Version " + version, + "Running " + release + " Version " + build, "in Incognito Mode- wait what", "uwu", "Team Fortress 2 with Sophie",