From e3bce1ba586d225b34a96972a36ea7ba85296ad7 Mon Sep 17 00:00:00 2001 From: iDutchy Date: Sun, 4 Oct 2020 01:58:06 +0000 Subject: [PATCH] add doc --- discord/flags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/flags.py b/discord/flags.py index 5d27a92f..fe89d305 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -404,6 +404,8 @@ class Intents(BaseFlags): @classmethod def from_list(cls, intents_list): + """A factory method that creates a :class:`Intents` with everything enabled + that has been passed in the list.""" for item in intents_list: if item not in cls.VALID_FLAGS.keys(): intents_list.remove(item)