Skip to content

Commit 3511003

Browse files
committed
fix: tts always True
1 parent 66e2c7d commit 3511003

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

discord_components/dpy_overrides.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,11 @@ def send_message(
175175
stickers=None,
176176
components=None,
177177
):
178-
payload = {}
178+
payload = {"tts": tts}
179179

180180
if content is not None:
181181
payload["content"] = content
182182

183-
if tts is not None:
184-
payload["tts"] = True
185-
186183
if embed is not None:
187184
payload["embeds"] = [embed]
188185

0 commit comments

Comments
 (0)