mirror of
https://github.com/HMCore/Orbot.git
synced 2025-12-10 21:06:18 +00:00
temporarily removed inactive servers message
This commit is contained in:
@@ -125,7 +125,7 @@ object Channels {
|
||||
|
||||
fun getServerNames(server: Long? = null): List<String>? = Main.jdas.flatMap { jda ->
|
||||
channels.filter { server == null || (jda.getTextChannelById(it.id)?.guild?.idLong == server) }.mapNotNull {
|
||||
val channel = jda.getTextChannelById(it.id) ?: return@mapNotNull null
|
||||
val channel = jda.getTextChannelById(it.id) ?: return@mapNotNull null //TODO: ad channel not working message
|
||||
|
||||
val role = when (it.mentionedRole) {
|
||||
null -> ""
|
||||
|
||||
Reference in New Issue
Block a user