File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ async def stats(self, ctx: commands.Context):
109109 guild = ctx .guild .id , author = ctx .author .id
110110 ).count ()
111111 user_responses = await Response .filter (
112- question_id = Subquery (Question .filter (guild = ctx .guild .id ).values ("id" )),
112+ question_id__in = Subquery (Question .filter (guild = ctx .guild .id ).values ("id" )),
113113 author = ctx .author .id ,
114114 ).count ()
115115 questions_total = await Question .filter (guild = ctx .guild .id ).count ()
116116 responses_total = await Response .filter (
117- question_id = Subquery (Question .filter (guild = ctx .guild .id ).values ("id" ))
117+ question_id__in = Subquery (Question .filter (guild = ctx .guild .id ).values ("id" ))
118118 ).count ()
119119 embed = discord .Embed (
120120 title = "Statistics" ,
You can’t perform that action at this time.
0 commit comments