Hello!
I am not familiar with discord.js and not a very good coder, so I am relying on tutorials to code my own bot.
The bot I have already has commandhanders and I also already connected it to a mongoose database.
So, the idea is:
The bot should grab an uploaded gif from a specific channel and record it to a mongoose database. Additionally the gif-upload in that channel also has one Gifname as text in the same upload message.
And then, when I type /gif [tag] with tag being the text string in the upload, the bot looks up the database and posts the gif according to that specific tag.
I searched for something like this for days now, but no success. I don't even know how to call that. So I'm asking here if someone know a similiar type of thing or even a tutorial on how to do that.
Much thanks! 