diff options
| author | Rapptz <[email protected]> | 2019-08-11 20:12:32 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-08-11 20:12:32 -0400 |
| commit | 87c2508199e95c6622d962e3187904a65fbac4b1 (patch) | |
| tree | 0703e8e971305c2c08e386e1ffd77e078ec86057 | |
| parent | Add RawReactionActionEvent.event_type attribute. (diff) | |
| download | discord.py-87c2508199e95c6622d962e3187904a65fbac4b1.tar.xz discord.py-87c2508199e95c6622d962e3187904a65fbac4b1.zip | |
Explicitly mention discord.Object in abc.Snowflake documentation.
| -rw-r--r-- | discord/abc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/abc.py b/discord/abc.py index b8259415..b888fd01 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -51,6 +51,9 @@ class Snowflake(metaclass=abc.ABCMeta): Almost all :ref:`Discord models <discord_api_models>` meet this abstract base class. + If you want to create a snowflake on your own, consider using + :class:`Object`. + Attributes ----------- id: :class:`int` |