Skip to content

Commit

Permalink
Bugfix for attachment option (#472)
Browse files Browse the repository at this point in the history
* Update options.py

* Create 472.bugfix.md
  • Loading branch information
syncblaze authored Oct 20, 2024
1 parent 65a766d commit 85fdc86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fragments/472.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed lightbulb.attachment option, which previously compiled to hikari.OptionType.MENTIONABLE
2 changes: 1 addition & 1 deletion lightbulb/commands/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def attachment(
hikari.Attachment,
Option(
OptionData(
type=hikari.OptionType.MENTIONABLE,
type=hikari.OptionType.ATTACHMENT,
name=name,
description=description,
localize=localize,
Expand Down

0 comments on commit 85fdc86

Please sign in to comment.