Skip to content

Commit 03b505f

Browse files
committed
Update CommandAttributes.php
1 parent d92f403 commit 03b505f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/Builders/CommandAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function setContext($contexts): self
437437
}
438438

439439
if (is_array($contexts)) {
440-
$contexts = Collection::for('int', 'value', $contexts);
440+
$contexts = new Collection($contexts);
441441
}
442442

443443
$this->contexts = $contexts;

0 commit comments

Comments
 (0)