sourcefinder response

This commit is contained in:
Lio Melio 2021-04-07 21:22:12 +02:00
parent ccf9ad6e12
commit 25d452293d
No known key found for this signature in database
GPG Key ID: 7B114FAB346B238B
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,6 @@ export async function Shortlink(message: Message, setting: boolean) {
let links = await shortlink(message.content)
if (!links) return;
links.forEach(link => { return `<${link}>` })
return message.channel.send(links?.join("\n"))
}
@ -42,5 +41,6 @@ export async function SourceFinder(message: Message, setting: boolean) {
if (!setting) return;
if (disabled(message, 'sf')) return;
let sources = await sourcefinder.find(message.content)
console.log(sources)
if (!sources) return;
return message.channel.send(sources?.join('\n'))
}