forked from DiscordBots/lilJudd
feat: changed EditButton to an interface
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
3f3fb87ebd
commit
407f0ff1ea
1 changed files with 2 additions and 1 deletions
|
@ -23,8 +23,9 @@ import dev.kord.core.entity.Guild
|
|||
import dev.kord.core.entity.User
|
||||
import dev.kord.core.entity.interaction.ButtonInteraction
|
||||
|
||||
open class EditButton(val id: String) {
|
||||
interface IEditButton {
|
||||
|
||||
val id: String
|
||||
open suspend fun onInteraction(
|
||||
interaction: ButtonInteraction,
|
||||
response: PublicMessageInteractionResponseBehavior,
|
Loading…
Reference in a new issue