yolkbot
learn
community
Preparing search index...
BanPlayerCommand
Class BanPlayerCommand
Index
Constructors
constructor
Methods
check
execute
validate
Properties
duration
reason
unique
Id
Constructors
constructor
new
BanPlayerCommand
(
uniqueId
:
string
,
duration
:
number
,
reason
?:
string
,
)
:
BanPlayerCommand
Parameters
uniqueId
:
string
duration
:
number
reason
:
string
= ''
Returns
BanPlayerCommand
Methods
check
check
()
:
boolean
Returns
boolean
execute
execute
(
bot
:
BotWithGame
)
:
void
Parameters
bot
:
BotWithGame
Returns
void
validate
validate
(
bot
:
BotWithGame
)
:
boolean
Parameters
bot
:
BotWithGame
Returns
boolean
Properties
duration
duration
:
number
reason
reason
:
string
unique
Id
uniqueId
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
check
execute
validate
Properties
duration
reason
unique
Id
learn
community
yolkbot
Loading...