add category to live message without role ping
This commit is contained in:
parent
c31f2cc149
commit
4a313832fa
@ -45,7 +45,7 @@ suspend fun main() {
|
|||||||
if (role != null) {
|
if (role != null) {
|
||||||
channel?.createMessage("<@&$role> https://twitch.tv/${it.channel.name} went live streaming ${it.stream.gameName}: ${it.stream.title}")
|
channel?.createMessage("<@&$role> https://twitch.tv/${it.channel.name} went live streaming ${it.stream.gameName}: ${it.stream.title}")
|
||||||
} else {
|
} else {
|
||||||
channel?.createMessage("${it.channel.name} went live: ${it.stream.title}")
|
channel?.createMessage("https://twitch.tv/${it.channel.name} went live streaming ${it.stream.gameName}: ${it.stream.title}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user