def send_command_response(self, source: list, command: str, *args, **kwargs):
args = json.dumps(args).encode('<STR_LIT:utf8>')<EOL>kwargs = json.dumps(kwargs).encode('<STR_LIT:utf8>')<EOL>frame = (*source, b'<STR_LIT>', command.encode('<STR_LIT:utf8>'), args, kwargs)<EOL>self.add_callback(self.command_socket.send_multipart, frame)<EOL>
Used in bot observer `on_next` method