Skip to content

Commit

Permalink
Update message.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored Oct 15, 2023
1 parent 705e7c5 commit 10d9ffb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions bot/discord/events/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ module.exports = async (client, message) => {
"976371313901965373" // VPN Suggestions
];

const publishedChannels = [
"898327108898684938" // Server Status
];

if (suggestionChannels.some(channel => channel == message.channel.id)) {
if (!message.content.startsWith(">")) {
message.react("👍");
Expand All @@ -35,14 +31,6 @@ module.exports = async (client, message) => {
}
}

if(publishedChannels.some(channel => channel == message.channel.id)) {
try {
message.crosspost();
} catch(Error) {
console.log("Error crossposting message:", Error);
}
}

// Handles direct messages
const dmAllowedUsers = [
"137624084572798976", // Dan
Expand Down

0 comments on commit 10d9ffb

Please sign in to comment.