Make CommandParameter sealed

This commit is contained in:
Him188 2022-01-06 20:16:39 +00:00
parent 7f0cb4581e
commit dcacacefad

View File

@ -31,7 +31,7 @@ import kotlin.reflect.typeOf
* Inherited instances must be [CommandValueParameter] or [CommandReceiverParameter]
*/
@ExperimentalCommandDescriptors
public interface CommandParameter<T : Any?> {
public sealed interface CommandParameter<T : Any?> {
public val name: String?
public val isOptional: Boolean