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
{{ message }}
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.
It might be cool to have a server daemon that receives all Discord messages, parses them and sends them to multiple attached clients. This way it would be possible to have multiple Discord Channels open and it would still be lightweight.
When working with external C Libraries, and going to a Daemon-Window structure it wouldn't be too far-fetched to just write the client in C since it only handles input/output to the terminal.
The text was updated successfully, but these errors were encountered:
Message handling is currently quite dumb, it receives, checks and prints. If we want to have editing/deleting options or respect those options from the users of the official client we have to manipulate the output quite heavily. There is currently no way to check when the message has been posted and on which line it is when we are talking about an old one. So when a MessageChange or MessageDelete event comes in there is no way to check which line needs to be altered. There is currently also no written way to do this.
I suggest using a kind of in-memory database structure where messages are linked to an integer. It will only keep a configurable amount (default probably 20-50) in memory, and manipulate these.
This needs forking and rewriting of the chzyer/readline#26 lib, or writing an alternative solution that is based on the same kind of method log.Setoutput() @chzyer uses.
The text was updated successfully, but these errors were encountered: