From 19cfa0a96cdf0a3a2bc61192d45e70deb1efc647 Mon Sep 17 00:00:00 2001 From: Zomatree Date: Thu, 18 Aug 2022 22:51:47 +0100 Subject: [PATCH] implement interactions --- revolt/http.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/revolt/http.py b/revolt/http.py index 208b5ee..89247f5 100755 --- a/revolt/http.py +++ b/revolt/http.py @@ -137,6 +137,9 @@ class HttpClient: if masquerade: json["masquerade"] = masquerade + if interactions: + json["interactions"] = interactions + return await self.request("POST", f"/channels/{channel}/messages", json=json) def edit_message(self, channel: str, message: str, content: Optional[str], embeds: Optional[list[SendableEmbedPayload]] = None) -> Request[None]: