feat: added EmbedWithTableWithFooter to MessageUtil

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-07-12 12:57:22 +02:00
parent f79e1b1582
commit ad6040ebf3

View file

@ -80,6 +80,19 @@ object MessageUtil {
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
fun getEmbedWithTable(
color: Color,