From 1d2ab9c78e4545a24cb7f56525b6fa2831f784b1 Mon Sep 17 00:00:00 2001 From: blord0 Date: Fri, 18 Jul 2025 17:33:24 +0100 Subject: [PATCH] Fix error checking --- discord/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/abc.py b/discord/abc.py index c33396b9e..2e0f971b7 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -1646,7 +1646,7 @@ class Messageable: if voice: if content is not None: raise TypeError('Cannot send content with a voice message') - if embeds is not None: + if embed is not None or embeds is not None: raise TypeError('Cannot send embeds with a voice message') if file is None: raise TypeError('A voice message must have a file')