Browse Source

Fix user posted links not being detected if setup done after b5 update

master
benji7425 4 years ago
parent
commit
74a7a5d569
  1. 2
      app/index.js

2
app/index.js

@ -26,7 +26,7 @@ client.on("ready", () => {
const guildData = client.guildsData[message.guild.id];
if (guildData)
guildData.feeds.forEach(feedData => {
if (message.channel.name === feedData.channelName)
if (message.channel.id === feedData.channelID)
feedData.cachedLinks.push(...GetUrls(message.content));
});
});

Loading…
Cancel
Save