aboutsummaryrefslogtreecommitdiff
path: root/commands/Getting Started/help.js
diff options
context:
space:
mode:
authorAlee <Alee14498@gmail.com>2019-10-21 20:31:12 +0000
committerAlee <Alee14498@gmail.com>2019-10-21 20:31:12 +0000
commit452bede9036af8db1b25f8c21939e22626db380a (patch)
treecc93d9cbc6451519b42604297a173320d8ad145c /commands/Getting Started/help.js
parent352bdfba73f1e52b61f59c30bd4142f1ffe07d65 (diff)
downloadPokeBot-452bede9036af8db1b25f8c21939e22626db380a.tar.gz
PokeBot-452bede9036af8db1b25f8c21939e22626db380a.tar.bz2
PokeBot-452bede9036af8db1b25f8c21939e22626db380a.zip
Prefix is now in a json file and new command
Diffstat (limited to 'commands/Getting Started/help.js')
-rw-r--r--commands/Getting Started/help.js3
1 files changed, 2 insertions, 1 deletions
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());