mark discord.js as external

This commit is contained in:
Ryan Cao 2022-05-21 20:58:23 +08:00
parent bba0b1bce0
commit ef5ab8ad77
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
5 changed files with 61 additions and 12 deletions

View file

@ -92,9 +92,7 @@ client.once('ready', async () => {
for (const match of urlMatches) {
console.log('[link]', match[0]);
if (await isBad(match[0])) {
await e.delete();
await e.channel.send({
content: `<@${e.author.id}>`,
await e.reply({
embeds: [
{
title: 'Hold on!',