diff --git a/src/index.ts b/src/index.ts index 182a88e..8f03903 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ const client = new Client({ }); const regurl = - /https:\/\/(ptb\.|canary\.)?discord(app)?\.com\/channels\/(?\d{18,19})\/(?\d{18,19})\/(?\d{18,19})/g; + /https:\/\/(ptb\.|canary\.)?discord(app)?\.com\/channels\/(?\d{16,19})\/(?\d{16,19})\/(?\d{16,19})/g; client.on('ready', (client) => { console.log(`Logged in as ${client.user.tag}!`);