diff --git a/docs/changelogs/v4.md b/docs/changelogs/v4.md index 08f4c659..a8e34c50 100644 --- a/docs/changelogs/v4.md +++ b/docs/changelogs/v4.md @@ -14,6 +14,7 @@ These are all the changelogs for stable releases of hikari-miru (version 4.0.0 t - Upgrade alluka to `0.3`. - Message builders returned by `Menu` and `NavigatorView` now try to set `View.message` when issuing a response through them. - Fix `self.attr` referring to a `DecoratedItem` instead of the item when using a decorator. +- Fix message builders not passing through flags when using their respective response methods. ## v4.1.1 diff --git a/miru/response.py b/miru/response.py index a48d5877..ae61e392 100644 --- a/miru/response.py +++ b/miru/response.py @@ -103,6 +103,7 @@ async def send_to_channel(self, channel: hikari.SnowflakeishOr[hikari.TextableCh channel=channel, content=self.content, embeds=self.embeds or hikari.UNDEFINED, + flags=self.flags, components=self.components or hikari.UNDEFINED, attachments=self.attachments or hikari.UNDEFINED, tts=self.is_tts, @@ -138,6 +139,7 @@ async def create_initial_response(self, interaction: hikari.MessageResponseMixin embeds=self.embeds or hikari.UNDEFINED, components=self.components or hikari.UNDEFINED, attachments=self.attachments or hikari.UNDEFINED, + flags=self.flags, tts=self.is_tts, mentions_everyone=self.mentions_everyone, user_mentions=self.user_mentions, @@ -187,6 +189,7 @@ async def create_followup(self, interaction: hikari.MessageResponseMixin[t.Any]) embeds=self.embeds or hikari.UNDEFINED, components=self.components or hikari.UNDEFINED, attachments=self.attachments or hikari.UNDEFINED, + flags=self.flags, tts=self.is_tts, mentions_everyone=self.mentions_everyone, user_mentions=self.user_mentions,