diff --git a/commands/admin/autoresponse.js b/commands/admin/autoresponse.js index b1b84ec6..6b0100c4 100644 --- a/commands/admin/autoresponse.js +++ b/commands/admin/autoresponse.js @@ -1,6 +1,7 @@ const { Command } = require('discord.js-commando'); const blacklist = require('../../json/blacklist.json'); const fs = require('fs'); +const { prefix } = require('../../config.json') module.exports = class AutoresponseCommand extends Command { constructor(client) { super(client, { @@ -8,7 +9,7 @@ module.exports = class AutoresponseCommand extends Command { group: 'admin', memberName: 'autoresponse', userPermissions: ['ADMINISTRATOR'], - description: `Can disable autoresponse in the channel (you can add "ALL" like this "haha enable/disable all" to enable/disable in every channel (EXPERIMENTAL))`, + description: `Can disable autoresponse in the channel (you can add "ALL" like this "${prefix} enable/disable all" to enable/disable in every channel (EXPERIMENTAL))`, args: [ { key: 'text', diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index 77c21e04..d746ca2d 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -2,6 +2,7 @@ const { Command } = require('discord.js-commando'); const Discord = require('discord.js'); const fetch = require('node-fetch'); const SelfReloadJSON = require('self-reload-json'); +const { prefix } = require('../../config.json') module.exports = class redditCommand extends Command { constructor(client) { @@ -40,7 +41,7 @@ module.exports = class redditCommand extends Command { return message.say("Could not find any images") } if (response.data.children[i].data.over_18 == true) - return message.say("No nsfw ( if you want a nsfw version of this commands use the feedback commands \"haha feedback \")") + return message.say(`No nsfw ( if you want a nsfw version of this commands use the feedback commands "${prefix} feedback ")`) const redditEmbed = new Discord.RichEmbed() .setColor("#ff9900") .setTitle(response.data.children[i].data.title) diff --git a/index.js b/index.js index aa3833c6..217c67f7 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ client.registry if (client.user.id == 377563711927484418) { const channel = client.channels.get(statsChannel); channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); - client.user.setActivity('haha feedback to tell me what you think of the bot! | haha help'); } + client.user.setActivity(`${prefix} feedback to tell me what you think of the bot! | ${prefix} help`); } }); // When bot join a guild send embeds with details about it.