Slash command for puzzle game
- Source:
Members
(static) data
Slash command for puzzle command
Properties:
| Name |
Type |
Description |
data |
object
|
A slash command object
Properties
| Name |
Type |
Description |
name |
string
|
Name of the slash command |
description |
string
|
Description of the slash command |
|
- Source:
(inner) actionRow :object
An action row of buttons, resulting in a row of 3 buttons
Type:
Properties:
| Name |
Type |
Description |
actionRow |
object
|
actionRow object
Properties
| Name |
Type |
Description |
component |
object
|
Button component |
|
- Source:
(inner) embed :object
Embedded object
Type:
Properties:
| Name |
Type |
Description |
embed |
object
|
Embed object
Properties
| Name |
Type |
Description |
color |
object
|
Color of the embed |
title |
string
|
Title of the embed |
description |
string
|
Description of the embed |
|
- Source:
Methods
(async, inner) execute(interaction)
Executes the puzzle command
Parameters:
| Name |
Type |
Description |
interaction |
object
|
Current discord interaction |
- Source:
(async, inner) updateBoard(interaction)
Updates the puzzle board interaction
Parameters:
| Name |
Type |
Description |
interaction |
object
|
Current discord interaction |
- Source: