feat: add pins

This commit is contained in:
firedotguy
2026-02-07 17:47:09 +03:00
parent 506e6a5d09
commit 8aef43e11d
5 changed files with 63 additions and 7 deletions

View File

@@ -93,3 +93,9 @@ class AlreadyReported(Exception):
class TooLarge(Exception):
def __str__(self):
return 'Search query too large'
class PinNotOwned(Exception):
def __init__(self, pin: str) -> None:
self.pin = pin
def __str__(self):
return f'You do not own "{self.pin}" pin'