Closed Oliver-makes-code closed 1 year ago
I will look into this for v1.1.0
@Oliver-makes-code I have been able to make it so messages from PK webhooks are actually sent, but I haven't figured out how to not send the messages that are about to be proxied
You can make a lookup to PK's API with the old message id and it'll return a valid message object if it was proxied
You can make a lookup to PK's API with the old message id and it'll return a valid message object if it was proxied
The problem is the MessageReceivedEvent
is invoked before the message is proxied
The only way I know of fixing this is somehow delaying the event until the message is proxied, and that's jank since that will add delay to normal messages
Forgot to close this earlier, this is now done.
It'd be neat if there was PluralKit support. You can detect messages sent by PluralKit and relay them to Minecraft using PlruralKit's API (Documentation found here: https://pluralkit.me/api/)