mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Make CommandSender.onDefault in CompositeCommand protected
This commit is contained in:
parent
61a42d9370
commit
1c5ca81c8b
@ -73,7 +73,7 @@ public abstract class CompositeCommand @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
|
||||
internal override suspend fun CommandSender.onDefault(rawArgs: Array<out Any>) {
|
||||
protected override suspend fun CommandSender.onDefault(rawArgs: Array<out Any>) {
|
||||
sendMessage(usage)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user