diff --git a/src/logs.ts b/src/logs.ts index 15a0cda..98ea903 100644 --- a/src/logs.ts +++ b/src/logs.ts @@ -195,7 +195,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(