Skip to content

Commit

Permalink
Ah, there is the error
Browse files Browse the repository at this point in the history
Signed-off-by: David <[email protected]>
  • Loading branch information
DavidCraftDev committed Oct 13, 2023
1 parent 25214ce commit e69a2c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
}
}
var urls = message.content.match(/(https?:\/\/[^\s]+)/g)
if(urls.length === 0) return;
for(var i = 0; i < urls.length; i++) {
const options = {
family: 0,
Expand Down

0 comments on commit e69a2c1

Please sign in to comment.