Add permission to BanCommand, rework its targeting

This commit is contained in:
AnimeGitB
2022-06-25 16:12:23 +09:30
committed by Melledy
parent 1ba415c66a
commit a3b4a11863
8 changed files with 57 additions and 105 deletions

View File

@@ -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": {