this pr moves some of the moderation commands from commands.js to a new class, and exposes a bunch of methods.
the intent is for clients other than the terminal client to be able to easily use moderation commands. e.g. cabal desktop can tie menu actions to moderation commands more easily
a bunch of moderation commands are now exposed on each cabal-details instance e.g. details.moderation, see moderation.js for the full listing atm
/moderation is a new command for showing moderation related commands
output from /help has been fixed by making use of monotonic timestamps
adds new event, command: details.on('command', ({ command, arg })
this pr moves some of the moderation commands from
commands.js
to a new class, and exposes a bunch of methods.the intent is for clients other than the terminal client to be able to easily use moderation commands. e.g. cabal desktop can tie menu actions to moderation commands more easily
details.moderation
, see moderation.js for the full listing atm/moderation
is a new command for showing moderation related commands/help
has been fixed by making use of monotonic timestampscommand
:details.on('command', ({ command, arg })