Defined in src/classes/room/index.ts:11 Propertiesautostart Defined in src/classes/room/index.ts:30 chats chats : { content : string ; content_safe : string ; pinned : boolean ; system : boolean ; user : { _id : string ; role : Role ; supporter : boolean ; supporter_tier : number ; username : string ; verified : boolean ; } ; } [] = [] Defined in src/classes/room/index.ts:41 creator creator : string
Defined in src/classes/room/index.ts:28 id id : string
Defined in src/classes/room/index.ts:16 match Defined in src/classes/room/index.ts:32 name name : string
Defined in src/classes/room/index.ts:22 name_ safe name_ safe : string
Defined in src/classes/room/index.ts:24 options Defined in src/classes/room/index.ts:36 owner owner : string
Defined in src/classes/room/index.ts:26 players Defined in src/classes/room/index.ts:34 public public : boolean
Defined in src/classes/room/index.ts:18 state Defined in src/classes/room/index.ts:38 type type
Defined in src/classes/room/index.ts:20 Accessorsis Host get isHost( ) : boolean Returns boolean Defined in src/classes/room/index.ts:199 Methodsabort abort ( ) : Promise < void > Returns Promise < void > Defined in src/classes/room/index.ts:329 chat chat ( message , pinned ? ) : Promise < { content : string ; content_safe : string ; pinned : boolean ; system : boolean ; user : { _id : string ; role : Role ; supporter : boolean ; supporter_tier : number ; username : string ; verified : boolean ; } ; } > Parameters message : string pinned : boolean = false Returns Promise < { content : string ; content_safe : string ; pinned : boolean ; system : boolean ; user : { _id : string ; role : Role ; supporter : boolean ; supporter_tier : number ; username : string ; verified : boolean ; } ; } > Defined in src/classes/room/index.ts:256 clear Chat clear Chat ( ) : Promise < void > Returns Promise < void > Defined in src/classes/room/index.ts:267 kick kick ( id , duration ? ) : Promise < string > Parameters id : string duration : number = 900 Returns Promise < string > Defined in src/classes/room/index.ts:230 leave leave ( ) : Promise < void > Returns Promise < void > Defined in src/classes/room/index.ts:218 move move ( uid , bracket ) : Promise < { bracket : Bracket ; uid : string ; } > Parameters uid : string bracket : "player" | "spectator" Returns Promise < { bracket : Bracket ; uid : string ; } > Defined in src/classes/room/index.ts:373 setID setID ( id ) : Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Returns Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Defined in src/classes/room/index.ts:280 start start ( ) : Promise < Ready > Returns Promise < Ready > Defined in src/classes/room/index.ts:322 switch switch ( bracket ) : Promise < { bracket : Bracket ; uid : string ; } > Parameters bracket : "player" | "spectator" Returns Promise < { bracket : Bracket ; uid : string ; } > Defined in src/classes/room/index.ts:360 take Host take Host ( ) : Promise < string > Returns Promise < string > Defined in src/classes/room/index.ts:347 transfer Host transfer Host ( player ) : Promise < string > Returns Promise < string > Defined in src/classes/room/index.ts:338 unban unban ( username ) : void Returns void Defined in src/classes/room/index.ts:243 update update < T > ( ... options ) : Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Type Parameters T extends | "options.presets" | "name" | "userLimit" | "autoStart" | "allowAnonymous" | "allowUnranked" | "userRankLimit" | "useBestRankAsLimit" | "forceRequireXPToChat" | "gamebgm" | "match.gamemode" | "match.modename" | "match.ft" | "match.wb" | "options.g" | "options.passthrough" | "options.stock" | "options.display_next" | "options.display_hold" | "options.gmargin" | "options.gincrease" | "options.garbagemultiplier" | "options.garbagemargin" | "options.garbageincrease" | "options.garbagecap" | "options.garbagecapincrease" | "options.garbagecapmax" | "options.garbageattackcap" | "options.garbageabsolutecap" | "options.garbagephase" | "options.garbagequeue" | "options.garbageare" | "options.garbageentry" | "options.garbageblocking" | "options.garbagetargetbonus" | "options.bagtype" | "options.spinbonuses" | "options.combotable" | "options.kickset" | "options.nextcount" | "options.allow_harddrop" | "options.display_shadow" | "options.locktime" | "options.garbagespeed" | "options.are" | "options.lineclear_are" | "options.infinitemovement" | "options.lockresets" | "options.allow180" | "options.room_handling" | "options.room_handling_arr" | "options.room_handling_das" | "options.room_handling_sdf" | "options.manual_allowed" | "options.b2bchaining" | "options.b2bcharging" | "options.openerphase" | "options.allclear_garbage" | "options.allclear_b2b" | "options.garbagespecialbonus" | "options.roundmode" | "options.allclears" | "options.clutch" | "options.nolockout" | "options.boardwidth" | "options.boardheight" | "options.messiness_change" | "options.messiness_inner" | "options.messiness_nosame" | "options.messiness_timeout" | "options.usebombs" Returns Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Defined in src/classes/room/index.ts:293 use Preset use Preset ( preset ) : Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Returns Promise < { auto : Autostart ; creator : string ; id : string ; info : {} ; match : Match ; name : string ; name_safe : string ; options : Options ; owner : string ; players : Player [] ; public : boolean ; state : State ; topic : {} ; type : "custom" ; } > Defined in src/classes/room/index.ts:315
The autostart state of the room