From 452bede9036af8db1b25f8c21939e22626db380a Mon Sep 17 00:00:00 2001 From: Alee Date: Mon, 21 Oct 2019 20:31:12 +0000 Subject: Prefix is now in a json file and new command --- commands/Getting Started/help.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/Getting Started') diff --git a/commands/Getting Started/help.js b/commands/Getting Started/help.js index 4ee6ce5..1fb2101 100644 --- a/commands/Getting Started/help.js +++ b/commands/Getting Started/help.js @@ -10,11 +10,12 @@ exports.run = (bot, msg, args) => { const { RichEmbed } = require('discord.js'); if (!args[0]) { + const settings = require("../../assets/settings.json"); const embed = new RichEmbed(); embed .setColor (0x36393e) .setTitle('PokeBot Command List') - .setDescription('PokeBot prefix is `p:`.') + .setDescription(`PokeBot prefix is \`${settings.prefix}\`.`) .setFooter(`PokeBot v1.0 is on ${bot.guilds.size} servers.`); const categories = Array.from(bot.categories.keys()); -- cgit v1.2.3