mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
Merge pull request #91 from dalbodeule/develop
apiDiscordRoutes fix. (11x)
This commit is contained in:
commit
68c76da9c7
@ -31,6 +31,7 @@ object DiscordGuildCache {
|
|||||||
guild = cache[guildId]
|
guild = cache[guildId]
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
if(guild == null) { return null }
|
||||||
if (guild!!.guild.roles.isEmpty()) {
|
if (guild!!.guild.roles.isEmpty()) {
|
||||||
guild!!.guild.roles = fetchGuildRoles(guildId)
|
guild!!.guild.roles = fetchGuildRoles(guildId)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user