You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some messages might want special handling based on how they are sent. For example, a bot posting links from reddit into the chat so they can be styled differently, or a waitlist raffle message that should ping everybody in the waitlist, or an IRC /me style action message.
One way to solve this generically could be tags. Next to the message contents, a message can have one or more tags, similar to IRCv3 message tags. It could be a list of strings, probably:
{"command": "sendChat","data": {"message": "[r/kpop] f(x) – FANCY NEW SONG","tags": ["reddit"]}|{"message": "@Admin started a raffle!","tags": ["raffleStart"]}|{"message": "waves","tags": ["action"]}}
But there might be uses for tags with more data attached as well, in which case it'd become something like
Initially these tags would simply be passed through. Once role-based ACL is implemented there could be roles for sending tags at all: chat.tags, and for using specific tags chat.tags.action, chat.tags.closeEveryone'sBrowser, etc.
The text was updated successfully, but these errors were encountered:
Some messages might want special handling based on how they are sent. For example, a bot posting links from reddit into the chat so they can be styled differently, or a waitlist raffle message that should ping everybody in the waitlist, or an IRC
/me
style action message.One way to solve this generically could be tags. Next to the message contents, a message can have one or more tags, similar to IRCv3 message tags. It could be a list of strings, probably:
But there might be uses for tags with more data attached as well, in which case it'd become something like
Initially these tags would simply be passed through. Once role-based ACL is implemented there could be roles for sending tags at all:
chat.tags
, and for using specific tagschat.tags.action
,chat.tags.closeEveryone'sBrowser
, etc.The text was updated successfully, but these errors were encountered: