Document BanEntry

This commit is contained in:
Maya authored and GitHub committed 2021-02-21 00:12:30 -05:00
1 parent b86073fac3
commit 66b834b332
2 files changed
+22 -13

No files matched your search

+16
View File
@@ -2867,6 +2867,22 @@ Guild
.. automethod:: audit_logs
:async-for:
.. class:: BanEntry
A namedtuple which represents a ban returned from :meth:`~Guild.bans`.
.. attribute:: reason
The reason this user was banned.
:type: Optional[:class:`str`]
.. attribute:: user
The :class:`User` that was banned.
:type: :class:`User`
Integration
~~~~~~~~~~~~