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
The HighLevelComponent and LowLevelComponent interfaces are currently missing methods to get the components like ActionRow or Button.
Possible solutions are to avoid the current methods at all which return i.e. List<HighLevelComponent> and instead offer direct acces to the HighLevelComponents with List<ActionRow> getActionRows() or offer as methods(like we currently also offer for receiving interactions) which are better maintainable as we do not have to add any other methods if there are new component types but on the other side they are not that nice to use as you have to know which classes are possible.
The text was updated successfully, but these errors were encountered:
The HighLevelComponent and LowLevelComponent interfaces are currently missing methods to get the components like ActionRow or Button.
Possible solutions are to avoid the current methods at all which return i.e.
List<HighLevelComponent>
and instead offer direct acces to the HighLevelComponents withList<ActionRow> getActionRows()
or offeras
methods(like we currently also offer for receiving interactions) which are better maintainable as we do not have to add any other methods if there are new component types but on the other side they are not that nice to use as you have to know which classes are possible.The text was updated successfully, but these errors were encountered: