Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 6, 2022

  • 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

@90-008 90-008 changed the title refactor message actions feat: refactor message actions Apr 1, 2022
@90-008 90-008 merged commit cdbdf39 into chat/invite-events Apr 1, 2022
@90-008 90-008 deleted the spiralw/refactor/actions branch April 1, 2022 23:35
@90-008 90-008 restored the spiralw/refactor/actions branch April 2, 2022 01:09
@90-008 90-008 deleted the spiralw/refactor/actions branch April 2, 2022 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants