fix stream announcements
This commit is contained in:
parent
617e4dc8a1
commit
e23d08fb75
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class EventHooks : Extension() {
|
||||||
launch {
|
launch {
|
||||||
val onlineLog =
|
val onlineLog =
|
||||||
kord.getGuildOrNull(tserverid)?.getChannelOf<GuildMessageChannel>(tchannelid)
|
kord.getGuildOrNull(tserverid)?.getChannelOf<GuildMessageChannel>(tchannelid)
|
||||||
onlineLog?.createMessage("${it.channel} is now live at https://twitch.tv/${it.channel}")
|
onlineLog?.createMessage("<@&1130981452130037800> ${it.channel.name} is now live at https://twitch.tv/${it.channel.name}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue