Skip to content

Commit

Permalink
cc:clarify ccid triggers on dashboard
Browse files Browse the repository at this point in the history
Clarify trigger type and add info that these triggers are in beta.

Signed-off-by: SoggySaussages <[email protected]>
  • Loading branch information
SoggySaussages committed Mar 31, 2024
1 parent b13943e commit b77118d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions customcommands/assets/customcommands-editcmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ <h2 class="card-title">
Minute interval
</option>
<option value="component" {{if eq .CC.TriggerType 7}} selected{{end}}>
Message Component</option>
Message Component (BETA)</option>
<option value="modal" {{if eq .CC.TriggerType 8}} selected{{end}}>
Modal Submission</option>
Modal Submission (BETA)</option>
</select>
</div>
</div>
Expand Down Expand Up @@ -141,10 +141,11 @@ <h2 class="card-title">
The command will run at a minute interval, for example every 10 minutes.
</p>
<p id="trigger-desc-component">
The command will run when a component (a button or a select menu) whose custom ID matches the given regex is used.
The command will run when a component (a button or a select menu) whose
custom ID matches the given regex is used. BETA FEATURE.
</p>
<p id="trigger-desc-modal">
The command will run when a modal whose custom ID matches the given regex is submitted.
The command will run when a modal whose custom ID matches the given regex is submitted. BETA FEATURE.
</p>
</div>
</div>
Expand All @@ -154,7 +155,7 @@ <h2 class="card-title">
<div class="col-sm-12">
<div class="form-group">
<label id="text-trigger-label">Trigger (<span id="trigger-length">{{len .CC.TextTrigger}}</span>/1000)</label>
<label id="customid-trigger-label">Custom ID Regex (<span id="trigger-length">{{len .CC.TextTrigger}}</span>/1000)</label>
<label id="customid-trigger-label">ComponentCustom ID Regex (<span id="trigger-length">{{len .CC.TextTrigger}}</span>/1000)</label>
<div class="input-group mb-2">
<div class="input-group-prepend" id="command-trigger-prepended-prefix">
<div class="input-group-text">{{.CommandPrefix}}</div>
Expand Down

0 comments on commit b77118d

Please sign in to comment.