fix(bible): fix ruff errors

This commit is contained in:
cswimr 2025-01-26 01:53:09 +00:00
parent 06e678f26f
commit 6ffa81fdee
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 20 additions and 20 deletions

View file

@ -10,7 +10,7 @@ class BibleAccessError(Exception):
self.message = message
class Unauthorized(Exception):
class UnauthorizedError(Exception):
def __init__(
self,
message: str = error("The API key for API.Bible is missing or invalid. Please report this to the bot owner.\nIf you are the bot owner, please check the documentation [here](<https://seacogs.coastalcommits.com/bible/#setup>)."),
@ -19,7 +19,7 @@ class Unauthorized(Exception):
self.message = message
class NotFound(Exception):
class NotFoundError(Exception):
def __init__(
self,
message: str = error("The requested passage was not found."),
@ -28,7 +28,7 @@ class NotFound(Exception):
self.message = message
class ServiceUnavailable(Exception):
class ServiceUnavailableError(Exception):
def __init__(
self,
message: str = error("The API.Bible service is currently unavailable."),