dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
683 stars 162 forks source link

Unexpected keyword argument: 'embed' #295

Closed theAbdoSabbagh closed 2 years ago

theAbdoSabbagh commented 2 years ago

Summary

Was trying to send an embed to a channel when I got the error

Reproduction Steps

Use the following code to attempt sending an embed:


embed = discord.Embed(title = 'lol')

channel = bot.get_channel(channel_id)
await channel.send(embed=embed)

Code

No response

Expected Results

It should send an embed.

Actual Results

Returns the following error: TypeError: Messageable.send() got an unexpected keyword argument 'embed'

System Information

Checklist

Additional Information

No response

dolfies commented 2 years ago

User accounts can no longer send rich embeds :(

theAbdoSabbagh commented 2 years ago

User accounts can no longer send rich embeds :(

Damn that sucks

theAbdoSabbagh commented 2 years ago

While I have you here, do you know any fix to this error when attempting to click buttons? [{'code': 'COMPONENT_VALIDATION_FAILED', 'message': 'Component validation failed'}]