aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Senjan21 <[email protected]>2021-02-05 19:19:02 +0100
committerGravatar Senjan21 <[email protected]>2021-02-05 19:19:02 +0100
commit4f1f45652ab980502098b98e5534d64f810b4b53 (patch)
tree94c0e789e17271e7fc5139c63d9cf9c1d36ecae2
parentFix #1371 error via adding errors. (diff)
Linting fix.
-rw-r--r--bot/errors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/errors.py b/bot/errors.py
index 016d9bd17..a6fc33312 100644
--- a/bot/errors.py
+++ b/bot/errors.py
@@ -1,4 +1,5 @@
from typing import Hashable, Union
+
from discord import Member, User
@@ -23,7 +24,7 @@ class LockedResourceError(RuntimeError):
class InvalidInfractedUser(Exception):
"""
- Exception raised upon attempt of infracting an invalid user."
+ Exception raised upon attempt of infracting an invalid user.
Attributes:
`user` -- User or Member which is invalid