aboutsummaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
authorSebastiaan Zeeff <[email protected]>2020-02-17 11:37:03 +0100
committerRapptz <[email protected]>2020-02-22 19:05:26 -0500
commit59ed908ee2581e987cc2bf8b4b28d6737f68806e (patch)
tree2a703fbd2b450eef23488fab8325474772089993 /docs/index.rst
parenton_invite_create requires Manage Channels (diff)
downloaddiscord.py-59ed908ee2581e987cc2bf8b4b28d6737f68806e.tar.xz
discord.py-59ed908ee2581e987cc2bf8b4b28d6737f68806e.zip
Fix invalid format specifier in PartialWebhookState.__getattr__
The message for the AttributeError raised by the __getattr__ method of the PartialWebhookState class is formatted using `str.format`. However, the placeholder contained a stray ":" before the !r specifier. This caused a ValueError("Invalid format specifier") to be raised whenever this method was called in lieu of the AttributeError that is intended to be raised.
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions