mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
Fix command
This commit is contained in:
parent
8ee378cd1b
commit
8ddda7d687
@ -95,7 +95,7 @@ interface CommandPermission {
|
|||||||
*/
|
*/
|
||||||
object Console : CommandPermission {
|
object Console : CommandPermission {
|
||||||
override fun CommandSender.hasPermission(): Boolean = false
|
override fun CommandSender.hasPermission(): Boolean = false
|
||||||
|
}
|
||||||
|
|
||||||
object Default : CommandPermission by (Manager or Console)
|
object Default : CommandPermission by (Manager or Console)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user