Skip to content

Commit

Permalink
Ok, has moved a step forward
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 7af338e commit a8de39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
var urls = message.content.match(/(https?:\/\/[^\s]+)/g)
for(var i = 0; i < urls.length; i++) {
const options = {
family: 4,
family: 0,
hints: dns.ADDRCONFIG | dns.V4MAPPED,
};
dns.lookup(urls[i], options, (err, addresses) =>
Expand Down

0 comments on commit a8de39f

Please sign in to comment.