implement interactions

This commit is contained in:
Zomatree
2022-08-18 22:51:47 +01:00
parent 88af87a4e1
commit 19cfa0a96c
+3
View File
@@ -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]: