Code optimisations and refactoring via Sourcery

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-02-24 21:26:51 -05:00
1 parent e090ee4308
commit 63ec23bac2
18 files changed
+47 -90

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class HTTPException(DiscordException):
fmt = '{0.status} {0.reason} (error code: {1})'
if len(self.text):
fmt = fmt + ': {2}'
fmt += ': {2}'
super().__init__(fmt.format(self.response, self.code, self.text))