-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I tried to figure out how to get the display-name
tag to use in a command, and there was not a single line of documentation on how to access the tags.
I gave the bot the ["tags", "membership", "commands"]
capabilities, and attempted to get the display-name
tag like so
def handle_message("k!" <> command, sender, chat, tags) do
case command do
"test123" ->
say(chat, "#{tags["display-name"]}, test123")
_ ->
say(chat, "unrecognized command")
end
end
However, it did not work. I tried putting the tags from the handle message into a debug line, and it did not give me any.
At this point, I'm not sure if I'm in the wrong here, or the library.
Please send help, thank you.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation