From a98c6e756151857d339a3d0f5729f6579ac593dd Mon Sep 17 00:00:00 2001 From: Juni Date: Mon, 11 Apr 2022 11:56:20 -0400 Subject: [PATCH] typo --- reactquote/reactquote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactquote/reactquote.py b/reactquote/reactquote.py index 940a49b..dc6b649 100644 --- a/reactquote/reactquote.py +++ b/reactquote/reactquote.py @@ -41,7 +41,7 @@ class ReactQuote(commands.Cog): quotes = await self.config.guild(ctx.guild).quotes() if quotes and len(quotes) > 0: num = randrange(len(quotes)) - message = await ctx.guild.getChannel(quotes[num].channelId).fetch_message(quotes[num].messageId) + message = await ctx.guild.get_channel(quotes[num].channelId).fetch_message(quotes[num].messageId) await ctx.send(embed=self._buildQuote(message, num+1)) else: await ctx.send("No quotes added yet. Say something funny~ OwO")