From e17dff064449c69b33460d0601efaee425a7e0cf Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 1 May 2023 08:39:59 +0000 Subject: [PATCH] Minor fix, README update --- README.md | 2 ++ commands/roomsettings.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de245d8..d57a811 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ probably add more in the future, so the name is a bit misleading. - Currently supports OpenAI (tested with `gpt-3.5-turbo`) - AI-generated pictures via the `!gptbot imagine` command - Currently supports OpenAI (DALL-E) +- Mathematical calculations via the `!gptbot calculate` command + - Currently supports WolframAlpha - DuckDB database to store spent tokens ## Planned features diff --git a/commands/roomsettings.py b/commands/roomsettings.py index 267674b..4f9df66 100644 --- a/commands/roomsettings.py +++ b/commands/roomsettings.py @@ -50,7 +50,7 @@ async def command_roomsettings(room: MatrixRoom, event: RoomMessageText, bot): bot.logger.log("Retrieving classification status...") - use_classification = await bot.room_uses_classification(room) + use_classification = bot.room_uses_classification(room) await bot.send_message(room, f"The current classification status is: '{use_classification}'.", True) return