fix stream announcements
This commit is contained in:
parent
617e4dc8a1
commit
e23d08fb75
@ -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…
x
Reference in New Issue
Block a user