diff options
| -rw-r--r-- | discord/webhook.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/webhook.py b/discord/webhook.py index d7d0fdcc..f9199e45 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -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) |