if invidious returns nothing

master
Joonas 4 months ago
parent 12be399f32
commit 67a9c8325c

@ -23,6 +23,11 @@ const command = {
console.log("Error fetching from invidious: " + err.message)
);
if (!data) {
await client.say(msg.channelName, `${msg.displayName}, nothing found`);
return;
}
await client.say(
msg.channelName,
`${msg.displayName}, YouTube video with search term: ${splitted

Loading…
Cancel
Save