diff --git a/Anthropic.py b/Anthropic.py index 6cc769c..0073911 100644 --- a/Anthropic.py +++ b/Anthropic.py @@ -21,6 +21,8 @@ async def check_anthropic(key: APIKey, session): return False text = await response.text() + if "This organization has been disabled" in text: + return key.pozzed = any(message in text for message in pozzed_messages) return True