Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add thread_name field in the webhook field #1722

Merged
merged 9 commits into from
Oct 4, 2024
Prev Previous commit
Next Next commit
fixed: Add a missing comma
retr0-init committed Jul 27, 2024
commit 6b0b8e22c3a2db9685c2baf7a7e1e645360fe0d4
3 changes: 2 additions & 1 deletion interactions/models/discord/webhooks.py
Original file line number Diff line number Diff line change
@@ -196,7 +196,8 @@ async def send(
avatar_url: str | None = None,
wait: bool = False,
thread: "Snowflake_Type" = None,
thread_name: Optional[str] = None**kwargs,
thread_name: Optional[str] = None,
**kwargs,
) -> Optional["Message"]:
"""
Send a message as this webhook.