lykoss / lykos

Werewolf, the popular detective/social party game (a theme of Mafia)
https://werewolf.chat
Other
127 stars 62 forks source link

Special-case PMs of the form foo:/ #525

Closed fndax closed 1 month ago

fndax commented 1 month ago

The bot currently parses messages starting with a word followed by a : as commands with role specified before the :. This isn't ideal when the user is in deadchat/wolfchat, because it means that hyperlinks (most notably wiki links) can't be sent without prepending something to the message (the bot thinks you're sending a command with a role of "http" or "https").

Special-case role:action messages where the action starts with a / so that the bot doesn't attempt to interpret them as actions and just sends them to foochat instead.