Cog-Creators / Cog-Creators/Red-DiscordBot
optional embed title field for ctx.maybe_send_embed()
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
### What component of Red (cog, command, API) would you like to see improvements on?
ctx.maybe_send_embed()
### Describe the enhancement you're suggesting.
In `ctx.maybe_send_embed()`, accept an optional kwarg for the title of the embed if it is able to be sent. This function has proved to be very helpful and takes the place of a manually created check-for-embed-permissions-and-send function in every cog, and it would be great to have this additional feature for when a title would be nice to have but is not required. Additionally, this could be expanded to accept every field a typical discord.Embed would accept, but currently the title field would be most useful.
Contributor guide
Assessment
This issue has not been assessed yet.