The following code works to send a message to a user:
mud.send_message(id, rooms[self.current_room]["desc"])
In one part of the game code, I don't want to start on a new line so I try:
mud.send_message(id, rooms[self.current_room]["desc"], end=" ")
mud.send_message(id, "This starts on the same line as the code above.")
This of course raises an error that the third variable (end=" ") is not welcome here. How can I start the second message on the same line?
Extra info if needed:
def send_message(self, to, message):
self._attempt_send(to, message+"\n\r")