mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Better invite regex
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const { shorten, verify } = require('../../util/Util');
|
||||
const inviteRegex = /discord(\.gg|app\.com\/invite|\.me)\//gi;
|
||||
const inviteRegex = /(https?:\/\/)?(www\.|canary\.|ptb\.)?discord(\.gg|app\.com\/invite|\.me)\/([^ ]+)\/?/gi;
|
||||
|
||||
module.exports = class PhoneCall {
|
||||
constructor(client, origin, recipient) {
|
||||
|
||||
Reference in New Issue
Block a user