Fix missing or broken versionadded in docstrings

This also documents BadFlagArgument.flag
This commit is contained in:
AkshuAgarwal
2021-08-18 04:45:02 +00:00
committed by GitHub
parent f7a3ea90b8
commit 6b6bcb92e6
5 changed files with 26 additions and 3 deletions

View File

@ -1485,6 +1485,8 @@ class Message(Hashable):
:attr:`~discord.Permissions.use_threads` in order to create a thread.
The channel this message belongs in must be a :class:`TextChannel`.
.. versionadded:: 2.0
Parameters
-----------