From 644c413c6b3687469f313187fd5ee4db57f282cb Mon Sep 17 00:00:00 2001 From: Johnty O'Reilly Date: Sun, 25 Oct 2020 01:33:51 +0000 Subject: [PATCH] added discord.com to regex. --- examples/djs/src/MyUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/djs/src/MyUtils.js b/examples/djs/src/MyUtils.js index 12f3d5d7..76073287 100644 --- a/examples/djs/src/MyUtils.js +++ b/examples/djs/src/MyUtils.js @@ -3,7 +3,7 @@ import { Utils } from 'axoncore'; class MyUtils extends Utils { constructor(...args) { super(...args); - this.invite = /^(discord.gg\/|discordapp.com\/invite\/)([a-z0-9]+)$/gi; + this.invite = /^(discord.gg\/|discordapp.com|discord.com\/invite\/)([a-z0-9]+)$/gi; } /**