From bc2c8c5e2efb097da43131279028c6fe5c937a98 Mon Sep 17 00:00:00 2001 From: mathstrains21 <89940630+mathstrains21@users.noreply.github.com> Date: Wed, 27 Oct 2021 17:19:55 +0100 Subject: embeds= -> embed= --- bot/exts/info/patreon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/exts/info/patreon.py b/bot/exts/info/patreon.py index 85def5c38..da5d24c1f 100644 --- a/bot/exts/info/patreon.py +++ b/bot/exts/info/patreon.py @@ -144,7 +144,7 @@ class Patreon(commands.Cog): @commands.command("patreon") async def patreon_info(self, ctx: commands.Context) -> None: """A command to send patreon info.""" - await ctx.channel.send(embeds=[discord.Embed( + await ctx.send(embed=discord.Embed( title="Patreon", description=( "We use the money from Patreon to offer excellent prizes for all of our events. Stuff like t-shirts, " @@ -152,7 +152,7 @@ class Patreon(commands.Cog): " read more about how Patreon supports us, or even support us yourself, on our Patreon page " "[here](https://www.patreon.com/python_discord)!" ) - )]) + )) def setup(bot: Bot) -> None: -- cgit v1.2.3