diff --git a/bot/meta/interactions/components.py b/bot/meta/interactions/components.py index d674d2ff..ad2bdef9 100644 --- a/bot/meta/interactions/components.py +++ b/bot/meta/interactions/components.py @@ -96,6 +96,8 @@ class Button(MessageComponent, AwaitableComponent): if self.emoji is not None: # TODO: This only supports PartialEmoji, not Emoji data['emoji'] = self.emoji.to_dict() + if self.disabled: + data['disabled'] = self.disabled return data