reputation-bot icon indicating copy to clipboard operation
reputation-bot copied to clipboard

Add `send` parameter for commands

Open LEv145 opened this issue 2 years ago • 0 comments

Problem

There are some commands, the result of which can be sent only to a user (ephemeral), and not to a chat

Solution

Add the send parameter to commands, which will be true/false, it will determine whether to send a message privately to a user or in a chat to everyone

Examples

/rep user:@user Send a message privately to a user, server users will not see this message /rep user:@user send:true Send a message to a server, server users will see this message

LEv145 avatar May 26 '22 22:05 LEv145