You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: For each slash-command (or a selectable subset), also create a keybinding (e.g., control-B) and / or a click-able button. (Where the button alternatively can be permanently located in the display area, or created in the chat area as something that scrolls up with the dialogue context.)
To give an example, in MapWorld games, I could imagine the game master (bot) producing text like "You can go east [type /e or control-< ] or west [ type /w or control-> ].", which is followed by little clickable buttons ⬅️ ➡️ in the chat area.
The text was updated successfully, but these errors were encountered:
Regarding buttons. Though not yet possible automatically, for now there are two ways to include buttons.
Bots when given the permission send_html_message can include buttons in their messages.
self.sio.emit(
"text",
{
"message": "Please klick <button onclick=\"submit_command('ready')\">Ready</button> to begin the game.",
"room": room_id,
"html": True
}
)
Buttons can be included permanently in the display area, by inserting a respective html element into the room layout.
An example of a bot working with those buttons can be found here: https://github.com/clp-research/slurk-bots/tree/master/boxbot
Feature request: For each slash-command (or a selectable subset), also create a keybinding (e.g., control-B) and / or a click-able button. (Where the button alternatively can be permanently located in the display area, or created in the chat area as something that scrolls up with the dialogue context.)
To give an example, in MapWorld games, I could imagine the game master (bot) producing text like "You can go east [type /e or control-< ] or west [ type /w or control-> ].", which is followed by little clickable buttons ⬅️ ➡️ in the chat area.
The text was updated successfully, but these errors were encountered: