mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
[hotfix] hotfix on alert embed tags.
This commit is contained in:
parent
b2ffd18126
commit
d0292e0aa6
@ -44,7 +44,7 @@ class Discord: ListenerAdapter() {
|
|||||||
embed.setTimestamp(Instant.now())
|
embed.setTimestamp(Instant.now())
|
||||||
embed.setAuthor(user.username, "https://chzzk.naver.com/live/${user.token}")
|
embed.setAuthor(user.username, "https://chzzk.naver.com/live/${user.token}")
|
||||||
embed.addField("카테고리", status.categoryType.getOrNull() ?: "Unknown", true)
|
embed.addField("카테고리", status.categoryType.getOrNull() ?: "Unknown", true)
|
||||||
embed.addField("태그", status.tags.joinToString { "," }, true)
|
embed.addField("태그", status.tags.joinToString(", ") { it.trim() }, true)
|
||||||
// embed.setImage(status.)
|
// embed.setImage(status.)
|
||||||
|
|
||||||
channel.sendMessage(
|
channel.sendMessage(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user