forked from DiscordBots/lilJudd
feat: added getMatchButtons to EmbedUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
ef28b08214
commit
9099d02bf4
1 changed files with 11 additions and 0 deletions
|
@ -38,6 +38,17 @@ object EmbedUtil {
|
|||
return ar
|
||||
}
|
||||
|
||||
fun getMatchButtons(): ActionRowBuilder {
|
||||
val ar = ActionRowBuilder()
|
||||
ar.interactionButton(ButtonStyle.Success, "public.edit.btn.matchmanagement.accept") {
|
||||
this.label = "Sign me up!"
|
||||
}
|
||||
ar.interactionButton(ButtonStyle.Danger, "public.edit.btn.matchmanagement.cancel") {
|
||||
this.label = "Cancel"
|
||||
}
|
||||
return ar
|
||||
}
|
||||
|
||||
fun replaceXWithYinValuesAtTable(x: String, y: String, e: Embed, table: Int): EmbedBuilder {
|
||||
val ebb = MessageUtil.getAClonedEmbedd(e)
|
||||
for ((i, f) in e.fields.withIndex()) {
|
||||
|
|
Loading…
Reference in a new issue