chore: removed comments from functions in ButtonUtil

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-21 15:09:32 +02:00
parent 019f10fd53
commit c5f9539888

View file

@ -38,14 +38,6 @@ object ButtonUtil {
return ar
}
/**
* @param x The string to replace
* @param y The string to replace with
* @param e The embed to replace the string in
* @param table The table to replace the string in
* @param maxTableSize The max table size
* @return The embed with the replaced string
*/
fun replaceXWithYinValuesAtTable(x: String, y: String, e: Embed, table: Int): EmbedBuilder {
val ebb = MessageUtil.getAClonedEmbedd(e)
for ((i, f) in e.fields.withIndex()) {
@ -65,13 +57,6 @@ object ButtonUtil {
return ebb
}
/**
* @param x The string to add
* @param e The embed to add the string to
* @param table The table to add the string to
* @param maxTableSize The max table size
* @return The embed with the added string
*/
fun addXToValuesAtTable(x: String, e: Embed, table: Int): EmbedBuilder {
val ebb = MessageUtil.getAClonedEmbedd(e)
for ((i, f) in e.fields.withIndex()) {