|
@ -1646,7 +1646,7 @@ class Messageable: |
|
|
if voice: |
|
|
if voice: |
|
|
if content is not None: |
|
|
if content is not None: |
|
|
raise TypeError('Cannot send content with a voice message') |
|
|
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') |
|
|
raise TypeError('Cannot send embeds with a voice message') |
|
|
if file is None: |
|
|
if file is None: |
|
|
raise TypeError('A voice message must have a file') |
|
|
raise TypeError('A voice message must have a file') |
|
|