mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2025-01-15 20:31:43 +01:00
Broadcast tab completing
This commit is contained in:
parent
2dcde1a135
commit
8929dd48e6
@ -142,6 +142,12 @@ public class ChannelConfigHelper {
|
|||||||
return channels().computeIfAbsent(ChannelConfig.DEFAULT_KEY, key -> new BaseChannelConfig());
|
return channels().computeIfAbsent(ChannelConfig.DEFAULT_KEY, key -> new BaseChannelConfig());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Set<String> getKeys() {
|
||||||
|
Set<String> keys = new LinkedHashSet<>(channels().keySet());
|
||||||
|
keys.remove(ChannelConfig.DEFAULT_KEY);
|
||||||
|
return keys;
|
||||||
|
}
|
||||||
|
|
||||||
public Set<OrDefault<BaseChannelConfig>> getAllChannels() {
|
public Set<OrDefault<BaseChannelConfig>> getAllChannels() {
|
||||||
BaseChannelConfig defaultConfig = getDefault();
|
BaseChannelConfig defaultConfig = getDefault();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user