Allow backend to mangle command format more

Bug #317614 reported by Luke-Jr
2
Affects Status Importance Assigned to Milestone
Yandere Game
Fix Committed
Wishlist
Luke-Jr
0.3
Fix Committed
Wishlist
Luke-Jr

Bug Description

Right now, the backend may provide a prefix, by default "!", to commands. The game should give the full query (eg, "abstain" or "kill", array("<person>")) to the backend, and allow it to mange it as it likes, including matching the command against an ambiguous-or-not list, and perhaps also supplying the backend with a list of alternate commands to try to find an unambiguous option.

Luke-Jr (luke-jr)
Changed in yandere:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Luke-Jr (luke-jr) wrote :

Also needs to differentiate between public/private commands, to prefix "/msg" etc in the right place.

Luke-Jr (luke-jr)
Changed in yandere:
status: Confirmed → Triaged
Luke-Jr (luke-jr)
Changed in yandere:
assignee: nobody → luke-jr
status: Triaged → In Progress
Revision history for this message
Luke-Jr (luke-jr) wrote :

Current trunk now supports:
call('yandere/get-format-command', <channel-or-null-for-PM>, array('command', <arguments...>))

Luke-Jr (luke-jr)
Changed in yandere:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.