issues
search
harmony-development
/
protocol
The schemas for the Harmony protocol
Apache License 2.0
21
stars
2
forks
source link
feat: refactor message actions
#98
Closed
ghost
closed
2 years ago
ghost
commented
2 years ago
actions are in
messages
rather than in embeds
actions have custom info set by a bot to distinguish different actions in the same message
buttons do not have data attached - the action's
info
is used instead
text input can have a default value
document that users cannot add actions to messages, only bots
document that servers must verify that the user is sending somewhat valid data to the bot
remove ActionPayload; it is redundant, the only thing that is being sent is a
bytes data
for all options anyway
info
is used insteadbytes data
for all options anyway