mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-25 00:15:23 -04:00
implement interactions
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user