JadedCtrl / Cardie

Renamed to https://github.com/JadedCtrl/Chat-O-Matic
https://github.com/JadedCtrl/Chat-O-Matic
Other
2 stars 0 forks source link

Implement system message call #40

Open JadedCtrl opened 3 years ago

JadedCtrl commented 3 years ago

Currently, IM_MESSAGE_RECEIVED without a user_id is used for sending system messages from the protocol to Cardie― an extra message, IM_SYS_MESSAGE_RECEIVED would be more Semantic and allow for easy support of some nice tweaks.

E.g., the prepending of asterisks in the message should be done automatically, the message ought to be able to ascribe positivity or negativity ("good" message prints blue, "bad" red, etc.), and these messages should not be logged.

JadedCtrl commented 3 years ago

If a "chat_id" isn't specified, the message could be posted to the account buffer (#38).

JadedCtrl commented 3 years ago

This commented idea is done with a26c33e5f3053af174591b21e69d975cc641f8b7, but "good" and "bad" associations might still be useful.