diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 659f1d1bb..ce7a29adc 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -1238,7 +1238,7 @@ class Webhook(BaseWebhook): if content is None: content = MISSING - if self.type is WebhookType.application + if self.type is WebhookType.application: wait = True params = handle_message_parameters( diff --git a/discord/webhook/sync.py b/discord/webhook/sync.py index 2ea15da76..8037682f6 100644 --- a/discord/webhook/sync.py +++ b/discord/webhook/sync.py @@ -20,9 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -""" -""" If you're wondering why this is essentially copy pasted from the async_.py file, then it's due to needing two separate types to make the typing shenanigans a bit easier to write. It's an unfortunate design. Originally, these types were