diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js index 831d222..72c2a02 100644 --- a/commands/Utility/suggest.js +++ b/commands/Utility/suggest.js @@ -1,6 +1,6 @@ exports.run = (bot, msg, args) => { const { RichEmbed } = require('discord.js'); - bot.channels.get('416726932927938570').send( + bot.channels.find('name', 'suggestions').send( new RichEmbed() .setColor (0x00ae86) .setTitle('Suggestion') diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index c05d603..4eb21c7 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -1,6 +1,6 @@ module.exports = (bot, member) => { const { RichEmbed } = require('discord.js'); - bot.channels.get('416633835216830495').send(`Welcome to the server **${member.user.tag}**! Make sure to read the rules! We now have ${member.guild.memberCount} members.`); + bot.channels.find('name', 'welcome').send(`Welcome to the server **${member.user.tag}**! Make sure to read the rules! We now have ${member.guild.memberCount} members.`); bot.channels.find('name', 'logs').send( new RichEmbed() .setColor(0x00ae86) diff --git a/events/guildMemberRemove.js b/events/guildMemberRemove.js index ea3c26e..e346d3f 100644 --- a/events/guildMemberRemove.js +++ b/events/guildMemberRemove.js @@ -1,6 +1,6 @@ module.exports = (bot, member) => { const { RichEmbed } = require('discord.js'); - bot.channels.get('416633835216830495').send(`**${member.user.tag}** just left. We now have ${member.guild.memberCount} members left. Aww man...`); + bot.channels.find('name', 'welcome').send(`**${member.user.tag}** just left. We now have ${member.guild.memberCount} members left. Aww man...`); bot.channels.find('name', 'logs').send( new RichEmbed() .setColor(0x00ae86)