From 43f5d238d8f14875bc98d760d13ca7c54d40d193 Mon Sep 17 00:00:00 2001 From: Juni Date: Mon, 11 Apr 2022 11:18:14 -0400 Subject: [PATCH] fix guild --- reactquote/reactquote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactquote/reactquote.py b/reactquote/reactquote.py index 6c12995..74c8831 100644 --- a/reactquote/reactquote.py +++ b/reactquote/reactquote.py @@ -32,7 +32,7 @@ class ReactQuote(commands.Cog): async def quote(self, ctx: commands.Context): """Recall Random Quote""" # Your code will go here - quotes = await self.config.guild.quotes() + quotes = await self.config.guild(ctx.guild).quotes() if quotes and len(quotes) > 0: num = randrange(len(quotes)) await ctx.send(embed=self._buildQuote(quotes[num], num+1))