Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
skysthelimitt committed Nov 6, 2024
2 parents 77e49d6 + 6bebab0 commit 1be49ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ module.exports = {
runAI(interaction, true);
}
for(let i = 0;i<links.length;i++) {
if(interaction.content.includes(links[i])) {
if(interaction.content.includes(links[i].slice(8))) {
msg = await interaction.reply("Please do not send links from the link bot.");
interaction.delete;
interaction.delete();
await sleep(5000);
msg.delete();
}
Expand Down

0 comments on commit 1be49ba

Please sign in to comment.