2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.stores;
|
|
|
|
|
|
|
|
import com.discord.stores.StoreSlowMode;
|
|
|
|
import com.discord.utilities.permissions.PermissionUtils;
|
2021-11-01 07:19:03 +00:00
|
|
|
import j0.k.b;
|
2021-08-09 22:50:52 +00:00
|
|
|
/* compiled from: StoreSlowMode.kt */
|
|
|
|
public final class StoreSlowMode$getChannelCooldownObservable$newObservable$1<T, R> implements b<Long, Boolean> {
|
|
|
|
public final /* synthetic */ StoreSlowMode.Type $type;
|
|
|
|
|
|
|
|
public StoreSlowMode$getChannelCooldownObservable$newObservable$1(StoreSlowMode.Type type) {
|
|
|
|
this.$type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final Boolean call(Long l) {
|
|
|
|
return Boolean.valueOf(PermissionUtils.INSTANCE.hasBypassSlowmodePermissions(l, this.$type));
|
|
|
|
}
|
|
|
|
}
|