mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Webhook.execute alias.
This commit is contained in:
parent
37b0fdb898
commit
310cb05040
@ -647,5 +647,6 @@ class Webhook:
|
||||
else:
|
||||
return self._adapter.execute_webhook(wait=wait, json=payload)
|
||||
|
||||
execute = send
|
||||
execute.__doc__ = """An alias for :meth:`.~Webhook.send`."""
|
||||
def execute(self, *args, **kwargs):
|
||||
"""An alias for :meth:`.~Webhook.send`."""
|
||||
return self.send(*args, **kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user