icdb

Twitch IRC reply

Aug 14th, 2020 (edited)
1,012
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Receiving:

Five new IRC tags are in replies. (Removed other stuff and added line breaks for readability)

reply-parent-display-name=icdb;
reply-parent-msg-body=Reply\sto\sme;
reply-parent-msg-id=af4cd9de-dda4-47b2-8431-f74a1dfed7f3;
reply-parent-user-id=38949074;
reply-parent-user-login=icdb;

Sending:

Instead of sending PRIVMSG #<CHANNEL> :<MESSAGE> you send @reply-parent-msg-id=<ID> PRIVMSG #<CHANNEL> :<MESSAGE> to the IRC server.

If the message you are replying to contains the reply-parent-msg-id field you have to use that ID instead of the normal message ID. Failing to do so results in the creation of a new thread instead of replying to the already running on.

Add Comment
Please, Sign In to add comment