diff --git a/src/logs.ts b/src/logs.ts index 7b19ab3..81a6e17 100644 --- a/src/logs.ts +++ b/src/logs.ts @@ -226,7 +226,7 @@ const providers: LogProvider[] = [ ]; export async function parseLog(s: string): Promise { - if (s.includes('https://pastebin.com/')) { + if (/(https?:\/\/)?pastebin\.com\/(raw\/)?[^/\s]{8}/g.test(s)) { const embed = new EmbedBuilder() .setTitle('pastebin.com detected') .setDescription(