hex-agon / chat-logger

A plugin for RuneLite's Plugin Hub
BSD 2-Clause "Simplified" License
6 stars 10 forks source link

Log command messages after output #16

Open KiwiZ0 opened 2 years ago

KiwiZ0 commented 2 years ago

When someone does the !kc, !pb, !lvl etc. commands, send/log the message after the output from the command resolves.

Not sure if it's possible but would be nice to have

sololegends commented 1 month ago

Looking into this one it doesn't look like this will be feasible. Unless it generates 2 log messages or holds onto the messages each time waiting for a period before logging, which could cause inconsistencies in the log output.

Given the chat commands are handled asynchronously to the message posting entries in the log could be substantially delayed.

I can likely make this work for remote submission, given message IDs can be used for de-dupe on the receiver side, but into the text log files would be too messy