diff options
author | mjk134 <57556877+mjk134@users.noreply.github.com> | 2022-07-11 20:03:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 20:03:24 +0000 |
commit | de4b806a7e5b823680acae4627607198cf1f59a6 (patch) | |
tree | e1db0047b5db098eafd930a39091645232edce8a /discord/flags.py | |
parent | b271f3b37c9a28ba9254f2a24c98cfcd65cb3c24 (diff) | |
parent | 6576d95f3601613fc03232b106f1cdeda1d99e06 (diff) | |
download | discobra-de4b806a7e5b823680acae4627607198cf1f59a6.tar.gz |
Merge branch 'master' of https://github.com/mounderfod/discobra
Diffstat (limited to 'discord/flags.py')
-rw-r--r-- | discord/flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/flags.py b/discord/flags.py index 65a9253..6f2ace7 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -24,6 +24,7 @@ def get_number(flags: list[Flags]): number += i.value return number + def get_flags(number: int): flags = [] while number != 0: @@ -32,4 +33,3 @@ def get_flags(number: int): flags.append(i) number -= i.value return flags - |