gay.evil.superbot.defs
Shared shapes for Superbot, a chat bot for Streamplace.
Details · defs
| Kind | defs |
|---|---|
| Authority | superbot.evil.gay |
| Commit rev | 3n32zs2v26k2r |
| Indexed |
#activity
objectA stream activity: a game from the catalog, or a Streamplace label.
#alert
objectProperties
enabled
booleanmessage
stringmaxLength: 1500maxGraphemes: 500
onlineOnly
booleanOnly send it while the stream is live.
#blockedTerm
objectProperties
conditions
refenabled
booleanid
stringmaxLength: 100
multiLine
integerminimum: 1maximum: 10
pinned
booleanpunishment
reftargeting
stringknownValues: message | username | both
useLookalikes
boolean#command
objectA custom chat command, as carried in a preset. Matches gay.evil.superbot.command.
Properties
aliases
arraymaxLength: 20
maxLength: 150maxGraphemes: 50
conditions
refenabled
booleanglobalCooldown
integerminimum: 0maximum: 1209600
id
stringLets timers in the same preset refer to this command.
maxLength: 100
maxLength: 150maxGraphemes: 50
response
stringmaxLength: 6000maxGraphemes: 2000
responseType
refuserCooldown
integerminimum: 0maximum: 1209600
#conditions
objectWhen something is allowed to trigger.
Properties
activities
arraymaxLength: 50
excludedRoles
arraymaxLength: 50
maxLength: 100
offline
booleanTrigger while the stream is offline.
online
booleanTrigger while the stream is live.
roles
arrayRoles allowed to trigger. Empty means everyone. Built-in roles are named (broadcaster, moderator, vip, follower, everyone); custom roles are opaque ids that only mean something to Superbot.
maxLength: 50
maxLength: 100
titleKeywords
arraymaxLength: 50
maxLength: 300maxGraphemes: 100
#expiry
object#filter
objectProperties
conditions
refconfig
unknownSettings for this filter type. Fractions are written as whole percentages, e.g. similarityPercent: 80.
enabled
booleanid
stringmaxLength: 100
maxLength: 300maxGraphemes: 100
punishment
refknownValues: caps | commands | emoji | language | length | links | malware | height | oneman | repetition | symbols | thread | unique | zalgo
#keyword
objectReplies when chat matches a phrase group (every phrase in any one group).
Properties
conditions
refenabled
booleanglobalCooldown
integerminimum: 0maximum: 1209600
id
stringmaxLength: 100
maxLength: 300maxGraphemes: 100
minLength: 1maxLength: 20
response
stringmaxLength: 6000maxGraphemes: 2000
responseType
reftargeting
stringknownValues: message | username | both
userCooldown
integerminimum: 0maximum: 1209600
#phrase
objectText matched against a chat message.
Properties
caseSensitive
booleanposition
stringknownValues: start | anywhere | end | exact
regex
booleanmaxLength: 3000maxGraphemes: 1000
wordBoundary
boolean#phraseGroup
object#punishment
objectWhat happens when a blocked term or spam filter matches. Durations are in seconds.
Properties
action
stringknownValues: delete | timeout | ban | warn | none
announcement
objectbaseTimeout
integerminimum: 0maximum: 1209600
maxTimeout
integerminimum: 0maximum: 1209600
notify
booleanreason
stringmaxLength: 900maxGraphemes: 300
repeatOffenders
objectwarnings
object#responseType
stringHow a reply is sent into chat.
knownValues: say | reply | mention | pin
#timer
objectA timer, as carried in a preset. Matches gay.evil.superbot.timer, except it names commands by preset id.
Properties
activities
arraymaxLength: 50
commandIds
arraymaxLength: 50
maxLength: 100
enabled
booleanid
stringmaxLength: 100
messages
arraymaxLength: 5
maxLength: 6000maxGraphemes: 2000
minLines
integerminimum: 0maximum: 1000
maxLength: 300maxGraphemes: 100
offlineEnabled
booleanofflineInterval
integerMinutes.
minimum: 1maximum: 1440
onlineEnabled
booleanonlineInterval
integerMinutes.
minimum: 1maximum: 1440
titleKeywords
arraymaxLength: 50
maxLength: 300maxGraphemes: 100
#variable
objectA named phrase, used in keyword phrases as var:name. A value starting with regex: is a regular expression.
Properties
description
stringmaxLength: 900maxGraphemes: 300
enabled
booleanid
stringmaxLength: 100
maxLength: 50
value
stringmaxLength: 6000maxGraphemes: 2000
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A custom chat command on the account owner's Streamplace channel. Superbot answers !name (and its aliases) with the response, which can use $(variables).
-
A public Superbot preset: a bundle of commands, keywords, timers and moderation rules any channel can install. The record key is the preset's id.
-
A timer on the account owner's Streamplace channel. It posts its messages and the responses of its commands in rotation, skipping its turn when chat is quiet.
-
Messages Superbot posts in the account owner's Streamplace chat when something happens. Alerts left out use Superbot's defaults.