Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

feat: text input components aka modals #502

Merged
merged 11 commits into from
Aug 1, 2022
Merged

feat: text input components aka modals #502

merged 11 commits into from
Aug 1, 2022

Conversation

beachasaurus-rex
Copy link
Contributor

@beachasaurus-rex beachasaurus-rex commented Jul 30, 2022

Description

I extended existing message component types to allow the creation of text input components, also known as Modals.

MessageComponent.Title is currently only used by text input components.

Text Input Ref

Breaking Change?

no.

The new example shows that changing MessageComponent.Style from ButtonStyle to int is not a breaking change.

Benchmarks

Checklist:

  • I have performed a self-review of my own code
  • Commented complex situations or referenced the discord documentation
  • Updated documentation
  • Added/Updated unit tests
  • Added/Updated benchmarks (if this is a performance critical component)

@beachasaurus-rex beachasaurus-rex marked this pull request as ready for review July 31, 2022 02:24
@andersfylling andersfylling merged commit 029733f into andersfylling:master Aug 1, 2022
@beachasaurus-rex beachasaurus-rex deleted the text-input branch August 2, 2022 00:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants