Fix a 'say' command bug

This commit is contained in:
Howard Abrams 2025-05-13 21:00:50 -07:00
parent 5eac299d4c
commit 2d283c2f7a

View file

@ -193,7 +193,8 @@ class CmdSay(MuxCommand):
targets = [item for item in self.caller.location.contents if item != self.caller] targets = [item for item in self.caller.location.contents if item != self.caller]
to_whom = chars_list(self.lhs, verb) if 'to' in self.switches else '' to_whom = chars_list(self.lhs, verb) if 'to' in self.switches else ''
full_speech = f"/Me {adverb}{verb}s{to_whom}, \"{for_others}\"" full_speech = f"/Me {adverb}{verb}s{to_whom}, \"{for_others}\""
send_emote(self.caller, targets, full_speech, msg_type="say", anonymous_add=None, quiet=True) # logger.info(f"send_emote('{self.caller}', {targets}, '{full_speech}', quiet=True")
send_emote(self.caller, targets, full_speech, msg_type="say", anonymous_add=None)