mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-24 12:54:38 +01:00
Add permission to BanCommand, rework its targeting
This commit is contained in:
@@ -397,15 +397,13 @@
|
||||
"success": "停權成功。",
|
||||
"failure": "停權失敗,玩家帳號不存在。",
|
||||
"invalid_time": "無效的時間戳。",
|
||||
"invalid_player_id": "無效的玩家ID。",
|
||||
"command_usage": "用法:ban <playerId> [timestamp] [reason]"
|
||||
"command_usage": "用法:ban <@playerId> [timestamp] [reason]"
|
||||
},
|
||||
"unban": {
|
||||
"description": "撤銷停權指定玩家。",
|
||||
"success": "撤銷停權成功。",
|
||||
"failure": "撤銷停權失敗,玩家帳號不存在。",
|
||||
"invalid_player_id": "無效的玩家ID。",
|
||||
"command_usage": "用法:unban <playerId>"
|
||||
"command_usage": "用法:unban <@playerId>"
|
||||
}
|
||||
},
|
||||
"gacha": {
|
||||
|
||||
Reference in New Issue
Block a user