Fix typo in api.py

occured -> occurred
This commit is contained in:
Ikko Eltociear Ashimine 2023-04-21 01:08:24 +09:00 committed by GitHub
parent a485cfb180
commit b9cafe8c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,7 +368,7 @@ class Client:
human_message_id = human_message["node"]["messageId"]
except TypeError:
raise RuntimeError(
f"An unknown error occured. Raw response data: {message_data}")
f"An unknown error occurred. Raw response data: {message_data}")
# indicate that the current message is waiting for a response
self.active_messages[human_message_id] = None