🏷️ Update typings

parent 6517ea05
......@@ -142,6 +142,7 @@ declare module "bancho.js" {
id: number
username: string
joinDate: Date
count300: number
count100: number
count50: number
......@@ -156,6 +157,7 @@ declare module "bancho.js" {
countRankS: number
countRankA: number
country: number
totalSecondsPlayed: number
ppCountryRank: number
events: Array<nodesu.UserEvent>
......@@ -435,6 +437,12 @@ declare module "bancho.js" {
*/
kickPlayer(player: string): Promise<null>
/**
* Bans a player from the lobby
* @param player Referenced by their username or #<userid>
*/
banPlayer(player: string): Promise<null>
/**
* Get back the host from one's hand
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment