kameloso IRC bot
Dlang.org
Oneliner.JSONSchema
kameloso
plugins
oneliner
Oneliner
JSON schema.
struct
Oneliner
static
struct
JSONSchema {
string
trigger
;
int
type
;
string
[]
responses
;
@
serdeOptional
uint
cooldown
;
@
serdeKeys
("alias")
string
alias_
;
auto
asJSONValue
();
}
Members
Functions
asJSONValue
auto
asJSONValue
()
Returns a
JSONValue
representation of this
JSONSchema
.
Variables
alias_
string
alias_
;
cooldown
uint
cooldown
;
responses
string
[]
responses
;
trigger
string
trigger
;
type
int
type
;
kameloso
plugins
oneliner
Oneliner
constructors
this
enums
OnelinerType
functions
asSchema
getResponse
nextOrderedResponse
randomResponse
static functions
resolveOnelinerTypestring
stripPrefix
structs
JSONSchema
variables
alias_
cooldown
lastTriggered
position
responses
trigger
type
JSON schema.