From 42346f69ebcaf93ce46dd7b88e433d801722c1b7 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 24 Mar 2021 18:01:34 -0400 Subject: [PATCH] Fix frinkiac results --- commands/search/frinkiac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/frinkiac.js b/commands/search/frinkiac.js index 82f4ed1d..759d0160 100644 --- a/commands/search/frinkiac.js +++ b/commands/search/frinkiac.js @@ -34,7 +34,7 @@ module.exports = class FrinkiacCommand extends Command { if (!search) return msg.say('Could not find any results.'); const data = await this.fetchCaption(search.Episode, search.Timestamp); const time = moment.duration(data.Frame.Timestamp).format(); - const caption = data.Subtitles.map(sub => sub.Content).join(' ').split(' '); + const caption = data.Subtitles.slice(1, 3).map(sub => sub.Content).join(' ').split(' '); let url = `https://frinkiac.com/meme/${data.Frame.Episode}/${data.Frame.Timestamp}.jpg`; const wrapped = ['']; let currentLine = 0;