Update suggest.js

This commit is contained in:
Two authored and GitHub committed 2020-07-27 10:43:11 -04:00
1 parent a3c0e81e04
commit 31bad3c2e5
1 file changed
+3 -1
+3 -1
View File
@@ -12,6 +12,8 @@ module.exports = {
description: supportbot.SuggestionDesc,
execute(message, args) {
if (supportbot.DeleteMessages == "true") message.delete();
let locateChannel = message.guild.channels.cache.find(SuggestionChannel => SuggestionChannel.name === supportbot.SuggestionChannel);
const errornochannel = new Discord.MessageEmbed()
@@ -55,4 +57,4 @@ module.exports = {
});
}
};
};