mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
Rename CommandReceiverParameter.PARAMETER_NAME to CommandReceiverParameter.NAME
This commit is contained in:
parent
0078ebd68f
commit
b9f70b1c66
@ -104,7 +104,7 @@ public class CommandReceiverParameter<T : CommandSender>(
|
|||||||
override val isOptional: Boolean,
|
override val isOptional: Boolean,
|
||||||
override val type: KType,
|
override val type: KType,
|
||||||
) : CommandParameter<T>, AbstractCommandParameter<T>() {
|
) : CommandParameter<T>, AbstractCommandParameter<T>() {
|
||||||
override val name: String get() = PARAMETER_NAME
|
override val name: String get() = NAME
|
||||||
|
|
||||||
init {
|
init {
|
||||||
val classifier = type.classifier
|
val classifier = type.classifier
|
||||||
@ -117,7 +117,7 @@ public class CommandReceiverParameter<T : CommandSender>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
public companion object {
|
public companion object {
|
||||||
public const val PARAMETER_NAME: String = "<receiver>"
|
public const val NAME: String = "<receiver>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user