mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-20 07:39:48 +00:00
Fix oversight of edit parameters not being keyword only
This commit is contained in:
@@ -695,6 +695,7 @@ class WebhookMessage(Message):
|
||||
|
||||
async def edit(
|
||||
self,
|
||||
*,
|
||||
content: Optional[str] = MISSING,
|
||||
embeds: Sequence[Embed] = MISSING,
|
||||
embed: Optional[Embed] = MISSING,
|
||||
|
@@ -399,6 +399,7 @@ class SyncWebhookMessage(Message):
|
||||
|
||||
def edit(
|
||||
self,
|
||||
*,
|
||||
content: Optional[str] = MISSING,
|
||||
embeds: Sequence[Embed] = MISSING,
|
||||
embed: Optional[Embed] = MISSING,
|
||||
|
Reference in New Issue
Block a user