From 26db110d47aa12fca7574baccc62d896ab6b88eb Mon Sep 17 00:00:00 2001 From: trojvn Date: Mon, 27 Jan 2025 13:20:33 +0300 Subject: [PATCH] with exc --- basethon/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 basethon/exceptions.py diff --git a/basethon/exceptions.py b/basethon/exceptions.py new file mode 100644 index 0000000..d584c28 --- /dev/null +++ b/basethon/exceptions.py @@ -0,0 +1,3 @@ +from telethon.errors import UserDeactivatedBanError, UserDeactivatedError + +ThonBannedError = (UserDeactivatedError, UserDeactivatedBanError)