mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
Added the ability or moderation staff to request user ban history
This commit is contained in:
parent
3bc61eb2e9
commit
90cb890cc2
17 changed files with 140 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ syntax = "proto2";
|
|||
message ModeratorCommand {
|
||||
enum ModeratorCommandType {
|
||||
BAN_FROM_SERVER = 1000;
|
||||
BAN_HISTORY = 1001;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
|
@ -17,3 +18,10 @@ message Command_BanFromServer {
|
|||
optional string visible_reason = 5;
|
||||
optional string clientid = 6;
|
||||
}
|
||||
|
||||
message Command_GetBanHistory {
|
||||
extend ModeratorCommand {
|
||||
optional Command_GetBanHistory ext = 1001;
|
||||
}
|
||||
optional string user_name = 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue