aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mathstrains21 <[email protected]>2021-10-27 17:19:55 +0100
committerGravatar mathstrains21 <[email protected]>2021-10-27 17:19:55 +0100
commitbc2c8c5e2efb097da43131279028c6fe5c937a98 (patch)
tree51915fe528f5c37db945c876c1af048d1786fe7d
parent`commands.context` -> `commands.Context` (diff)
embeds= -> embed=
Diffstat (limited to '')
-rw-r--r--bot/exts/info/patreon.py4
1 files 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: