forked from DiscordBots/lilJudd
feat: added EmbedWithTableWithFooter to MessageUtil
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
f79e1b1582
commit
ad6040ebf3
1 changed files with 13 additions and 0 deletions
|
@ -80,6 +80,19 @@ object MessageUtil {
|
||||||
return ebb
|
return ebb
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun getEmbedWithTableWithFooter(
|
||||||
|
color: Color,
|
||||||
|
title: String,
|
||||||
|
description: String,
|
||||||
|
values: Map<String, List<String>>?,
|
||||||
|
footer: String
|
||||||
|
): EmbedBuilder {
|
||||||
|
val ebb = getEmbedWithTable(color, title, description, values)
|
||||||
|
ebb.footer = EmbedBuilder.Footer()
|
||||||
|
ebb.footer!!.text = ">m.id/$footer"
|
||||||
|
return ebb
|
||||||
|
}
|
||||||
|
|
||||||
///Get an embedded msg with image, title and description
|
///Get an embedded msg with image, title and description
|
||||||
fun getEmbedWithTable(
|
fun getEmbedWithTable(
|
||||||
color: Color,
|
color: Color,
|
||||||
|
|
Loading…
Reference in a new issue