Skip to main content
Corvus Connection

On Chat Command

Entry
entry.onChatCommandFires when a chat message is a command (prefix + word). Binds the command, its arguments, and the sender.

Outputs

Name
Kind
Type
Flags
outExecexecNone
commandDataSystem.Stringmultiplexed
argsDataSystem.Stringmultiplexed
argCountDataSystem.Int32multiplexed
userDataSystem.Stringmultiplexed
messageDataSystem.Stringmultiplexed

Parameters

Name
Type
Required
Default
Choices
commandSystem.Stringyes""None
prefixSystem.Stringno"!"None
minRoleSystem.Stringno"everyone"Everyone, Subscriber+, VIP+, Moderator+, Broadcaster
cooldownSecondsSystem.Int32no0None
perUserCooldownSecondsSystem.Int32no0None
debounceMsSystem.Int32no0None
dedupeKeySystem.Stringno""None
maxConcurrencySystem.Int32no0None

Used in