Skip to content

Commit

Permalink
fix load_chat param
Browse files Browse the repository at this point in the history
  • Loading branch information
wetterkrank committed Jun 25, 2023
1 parent aa7657a commit cf737ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dasbot/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def stats(self, message: Message, dictionary):
# not-a-command
async def generic(self, message: Message):
answer = message.text.strip().lower()
chat = self.chats_repo.load_chat(message.chat)
chat = self.chats_repo.load_chat(message)
quiz = chat.quiz

if not (quiz and quiz.expected(answer)):
Expand Down

0 comments on commit cf737ec

Please sign in to comment.