Prechádzať zdrojové kódy

Minor fix, README update

Kumi 1 rok pred
rodič
commit
e17dff0644
2 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 2 0
      README.md
  2. 1 1
      commands/roomsettings.py

+ 2 - 0
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

+ 1 - 1
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