yolkbot
learn
community
Preparing search index...
ReportPlayerCommand
Class ReportPlayerCommand
Index
Constructors
constructor
Methods
$grab
Player
check
execute
validate
Properties
id
Or
Name
reason
Int
Constructors
constructor
new
ReportPlayerCommand
(
idOrName
:
string
|
number
,
reasons
?:
ReportPlayerParams
,
)
:
ReportPlayerCommand
Parameters
idOrName
:
string
|
number
reasons
:
ReportPlayerParams
= {}
Returns
ReportPlayerCommand
Methods
$grab
Player
$grabPlayer
(
bot
:
BotWithGame
)
:
Player
|
undefined
Parameters
bot
:
BotWithGame
Returns
Player
|
undefined
check
check
(
bot
:
BotWithGame
)
:
boolean
Parameters
bot
:
BotWithGame
Returns
boolean
execute
execute
(
bot
:
BotWithGame
)
:
void
Parameters
bot
:
BotWithGame
Returns
void
validate
validate
()
:
boolean
Returns
boolean
Properties
id
Or
Name
idOrName
:
string
|
number
reason
Int
reasonInt
:
number
= 0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
$grab
Player
check
execute
validate
Properties
id
Or
Name
reason
Int
learn
community
yolkbot
Loading...