From b6d2a539762cec69c226e0eb7de2bd273df90b9b Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 2 Dec 2022 12:55:05 -0500 Subject: [PATCH] Tenor search is FUBAR --- dot-commands/gif.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot-commands/gif.js b/dot-commands/gif.js index 4b8f556..03ea658 100644 --- a/dot-commands/gif.js +++ b/dot-commands/gif.js @@ -7,6 +7,10 @@ const tenor = require('tenorjs').client({ "DateFormat": "D/MM/YYYY - H:mm:ss A" // Change this accordingly }); +// TODO: Tenor has changed API versions, switch from TenorJS (unmaintained) to axios for +// general API usage. See: https://github.com/Jinzulen/TenorJS/issues/12 +// see also: https://developers.google.com/tenor/guides/migrate-from-v1 + module.exports = { name: 'gif', description: 'Send a GIF',