From 85fdc86b43f2bc8adf21df33146101ea79873575 Mon Sep 17 00:00:00 2001 From: Blaze <88249929+syncblaze@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:20:41 +0200 Subject: [PATCH] Bugfix for attachment option (#472) * Update options.py * Create 472.bugfix.md --- fragments/472.bugfix.md | 1 + lightbulb/commands/options.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 fragments/472.bugfix.md diff --git a/fragments/472.bugfix.md b/fragments/472.bugfix.md new file mode 100644 index 00000000..ba295893 --- /dev/null +++ b/fragments/472.bugfix.md @@ -0,0 +1 @@ +Fixed lightbulb.attachment option, which previously compiled to hikari.OptionType.MENTIONABLE diff --git a/lightbulb/commands/options.py b/lightbulb/commands/options.py index 2efb659b..ce77a9cc 100644 --- a/lightbulb/commands/options.py +++ b/lightbulb/commands/options.py @@ -655,7 +655,7 @@ def attachment( hikari.Attachment, Option( OptionData( - type=hikari.OptionType.MENTIONABLE, + type=hikari.OptionType.ATTACHMENT, name=name, description=description, localize=localize,