Skip to content

Commit

Permalink
Fix subcommand options (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
SQKo authored Mar 3, 2022
1 parent e2bf9cf commit 97d6ebb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/Discord/Parts/Interactions/Request/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,15 @@
* @property string $name Name of the option.
* @property int $type Type of the option.
* @property mixed $value Value of the option.
* @property bool $focused Whether this option is the currently focused option for autocomplete.
* @property OptionRepository $options Sub-options if applicable.
* @property bool $focused Whether this option is the currently focused option for autocomplete.
*/
class Option extends Part
{
/**
* @inheritdoc
*/
protected $fillable = ['name', 'type', 'value', 'focused'];

/**
* @inheritdoc
*/
protected $visible = ['options'];
protected $fillable = ['name', 'type', 'value', 'options', 'focused'];

/**
* @inheritdoc
Expand Down

0 comments on commit 97d6ebb

Please sign in to comment.