Un-promote ChannelRegistry#byCommandName from API

This commit is contained in:
Jason Penilla committed 2023-06-24 18:04:58 -07:00
1 parent 0d72883ab9
commit 8e59a14fdb
7 files changed
+24 -32

No files matched your search

@@ -22,7 +22,6 @@ package net.draycia.carbon.api.channels;
import net.draycia.carbon.api.util.DefaultedKeyValueRegistry;
import net.kyori.adventure.key.Key;
import net.kyori.registry.Registry;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* Registry for chat channels.
@@ -39,12 +38,4 @@ public interface ChannelRegistry extends Registry<Key, ChatChannel>, DefaultedKe
*/
void registerChannelCommands(final ChatChannel channel);
/**
* Gets the channel with the corresponding command name.
*
* @param channelName the command used to speak in the channel
* @return the channel
*/
@Nullable ChatChannel byCommandName(final String channelName);
}