Chad
1.0
Chad
/
org.openredstone.chad.commands
/
Command
Command
abstract
class
Command
(
privateReply
:
Boolean
,
notAuthorized
:
String
,
authorizedRoles
:
List
<
String
>
?
)
Content copied to clipboard
Functions
Properties
Functions
help
Link copied to clipboard
open
fun
help
(
name
:
String
)
:
String
Content copied to clipboard
is
Authorized
Link copied to clipboard
fun
isAuthorized
(
senderRoles
:
List
<
String
>
)
:
Boolean
Content copied to clipboard
run
Command
Link copied to clipboard
abstract
suspend
fun
runCommand
(
replyScope
:
ReplyScope
,
args
:
List
<
String
>
)
:
CommandResponse
Content copied to clipboard
Properties
notAuthorized
Link copied to clipboard
val
notAuthorized
:
String
Content copied to clipboard
privateReply
Link copied to clipboard
val
privateReply
:
Boolean
=
false
Content copied to clipboard