mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
commit
8e1e472bda
@ -31,8 +31,8 @@ class Discord: ListenerAdapter() {
|
|||||||
companion object {
|
companion object {
|
||||||
lateinit var bot: JDA
|
lateinit var bot: JDA
|
||||||
|
|
||||||
internal fun getChannel(guildId: Number, channelId: Number): TextChannel? {
|
internal fun getChannel(guildId: Long, channelId: Long): TextChannel? {
|
||||||
return bot.getGuildById(guildId.toLong())?.getTextChannelById(channelId.toLong())
|
return bot.getGuildById(guildId)?.getTextChannelById(channelId)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun sendDiscord(user: User, status: IData<IStreamInfo?>) {
|
fun sendDiscord(user: User, status: IData<IStreamInfo?>) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user