mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40: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 type: KType,
|
||||
) : CommandParameter<T>, AbstractCommandParameter<T>() {
|
||||
override val name: String get() = PARAMETER_NAME
|
||||
override val name: String get() = NAME
|
||||
|
||||
init {
|
||||
val classifier = type.classifier
|
||||
@ -117,7 +117,7 @@ public class CommandReceiverParameter<T : CommandSender>(
|
||||
}
|
||||
|
||||
public companion object {
|
||||
public const val PARAMETER_NAME: String = "<receiver>"
|
||||
public const val NAME: String = "<receiver>"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user