fix(bible): fix ruff errors
This commit is contained in:
parent
06e678f26f
commit
6ffa81fdee
2 changed files with 20 additions and 20 deletions
|
@ -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."),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue