Aliucord / plugin-requests

Plugin requests for Aliucord
42 stars 3 forks source link

Fetch referenced message in Search #1085

Open kissingboys opened 1 year ago

kissingboys commented 1 year ago

Discord Account

No response

Plugin Description

When you use the Discord search feature it'll show a uhh Message could not be loaded, however if you press it it shows the real message, can you make it show real message

Go into more detail...

Discord is a versatile communication platform that integrates text, voice, and video chat, providing a space for communities to connect and collaborate. However it currently has one big flaw, when using it's builtin Search feature, due to how caching works it might not use the referenced message value as expected for some messages, however I strongly believe that this is possible to be changed by using an Aliucord plugin, which would fetch the message from the referenced message ID, so the client is able to render it as expected.

Images

This is an example of what it currently shows image however by pressing the message you can fetch the referenced message and it'll turn into this image

I want the plugin to automatically do this. Without having to press the image to let the client fetch the referenced message.

Request Agreement

rushiiMachine commented 1 year ago

This would generate too much api calls imo If the referencedMessage field isn't sent with the message (with the search api) fetching everything manually might be too spammy