Skip to content

Commit

Permalink
[#65] Mutable id prop in ActionableComponentBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Aug 5, 2021
1 parent bed1fb6 commit 2a85765
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public abstract class ActionableComponentBuilder<T : ComponentInteraction, R : A
private val translations: TranslationsProvider by inject()

/** Unique ID for this button. Required by Discord. **/
public open val id: String = UUID.randomUUID().toString()
public open var id: String = UUID.randomUUID().toString()

/**
* Automatic ack type, if not following a parent context.
Expand Down

0 comments on commit 2a85765

Please sign in to comment.