Remove debug print
This commit is contained in:
parent
af65dcc06b
commit
2be20880b8
@ -32,7 +32,6 @@ class TempVCFeature(@JsonProperty("category") category: String? = null) : EventF
|
|||||||
|
|
||||||
override fun register(api: DiscordApi) {
|
override fun register(api: DiscordApi) {
|
||||||
api.addServerVoiceChannelMemberLeaveListener { event ->
|
api.addServerVoiceChannelMemberLeaveListener { event ->
|
||||||
println("asdsad")
|
|
||||||
if (event.channel.connectedUsers.isEmpty() && Dao.isTemporaryVC(event.channel.idAsString)) {
|
if (event.channel.connectedUsers.isEmpty() && Dao.isTemporaryVC(event.channel.idAsString)) {
|
||||||
deleteChannel(event.channel)
|
deleteChannel(event.channel)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user