#Guys what is the best way to block website links

6 messages · Page 1 of 1 (latest)

small fog
#
const website = /(?:https:\/\/)?(www\.)?((?:[A-z0-9]+\.){1,128}[A-z0-9]{2,64})/gi;
const discord = /(?:https?:\/\/)?(?:www\.)?discord(?:\.gg|\.me|(?:app)?|.com\/invite)?\/([A-z0-9-_]{1,25})/gi

I mean if i do the first it will block this.message for example i dont want to block the normal(not mean to send link) what should i do.

naive yewBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

balmy lake
charred quail
#

except they just said they don't really want that

balmy lake
#

oh well uh pretend i wasnt here

severe plover