Utilities and JSON Database support #51

Closed
ghost wants to merge 6 commits from 2.0 into 2.0
Showing only changes of commit ec5d350fbb - Show all commits

View File

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