Skip to content

Commit a7792e9

Browse files
authored
Merge pull request #368 from Aiko-IT-Systems/activities
More Activities
2 parents d31309a + ff1bbfe commit a7792e9

File tree

2 files changed

+107
-20
lines changed

2 files changed

+107
-20
lines changed

discord/enums.py

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -667,22 +667,40 @@ def from_datatype(cls, datatype):
667667

668668

669669
class EmbeddedActivity(Enum):
670+
awkword = 879863881349087252
670671
betrayal = 773336526917861400
671-
chess = 832012586023256104
672-
chess_dev = 832012774040141894
672+
cg2_qa = 832012815819604009
673+
cg2_staging = 832012730599735326
674+
cg3_dev = 832012682520428625
675+
cg3_prod = 832013003968348200
676+
cg3_qa = 832012894068801636
677+
cg3_staging = 832012938398400562
678+
cg4_dev = 832013108234289153
679+
cg4_prod = 832025144389533716
680+
cg4_qa = 832025114077298718
681+
cg4_staging = 832025061657280566
682+
chess_in_the_park_dev = 832012586023256104
683+
chess_in_the_park = 832012774040141894
684+
decoders_dev = 891001866073296967
673685
doodle_crew = 878067389634314250
674-
fishing = 814288819477020702
686+
doodle_crew_dev = 878067427668275241
687+
fishington = 814288819477020702
675688
letter_tile = 879863686565621790
676-
poker = 755827207812677713
689+
pn_staging = 763116274876022855
690+
poker_night = 755827207812677713
691+
poker_qa = 801133024841957428
692+
putts = 832012854282158180
693+
sketchy_artist = 879864070101172255
694+
sketchy_artist_dev = 879864104980979792
677695
spell_cast = 852509694341283871
678696
watch_together = 880218394199220334
679697
watch_together_dev = 880218832743055411
680-
word_snack = 879863976006127627
681-
youtube = 755600276941176913
698+
word_snacks = 879863976006127627
699+
word_snacks_dev = 879864010126786570
700+
youtube_together = 755600276941176913
682701

683702
T = TypeVar('T')
684703

685-
686704
def create_unknown_value(cls: Type[T], val: Any) -> T:
687705
value_cls = cls._enum_value_cls_ # type: ignore
688706
name = f'unknown_{val}'

docs/api.rst

Lines changed: 82 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,54 +2729,123 @@ of :class:`enum.Enum`.
27292729

27302730
.. versionadded:: 2.0
27312731

2732+
.. attribute:: awkword
2733+
2734+
Represents the embedded application Awkword.
2735+
27322736
.. attribute:: betrayal
27332737

27342738
Represents the embedded application Betrayal.io
2739+
2740+
.. attribute:: cg2_qa
2741+
2742+
Represents the embedded application CG2 QA.
2743+
2744+
.. attribute:: cg2_staging
2745+
2746+
Represents the embedded application CG2 Staging.
2747+
2748+
.. attribute:: cg3_prod
2749+
2750+
Represents the embedded application CG3 Prod.
2751+
2752+
.. attribute:: cg3_qa
2753+
2754+
Represents the embedded application CG3 QA.
2755+
2756+
.. attribute:: cg3_staging
2757+
2758+
Represents the embedded application CG3 Staging.
2759+
2760+
.. attribute:: cg3_dev
2761+
2762+
Represents the embedded application CG3 Development.
2763+
2764+
.. attribute:: cg4_prod
2765+
2766+
Represents the embedded application CG4 Prod.
2767+
2768+
.. attribute:: cg4_qa
2769+
2770+
Represents the embedded application CG4 QA.
2771+
2772+
.. attribute:: cg4_staging
2773+
2774+
Represents the embedded application CG4 Staging.
2775+
2776+
.. attribute:: cg4_dev
2777+
2778+
Represents the embedded application CG4 Development.
27352779

2736-
.. attribute:: chess
2780+
.. attribute:: chess_in_the_park
27372781

27382782
Represents the embedded application Chess in the Park.
27392783

2740-
.. attribute:: chess_dev
2784+
.. attribute:: chess_in_the_park_dev
27412785

2742-
Development version of `chess`.
2786+
Development version of :attr:`~EmbeddedActivity.chess_in_the_park`.
27432787

27442788
.. attribute:: doodle_crew
27452789

27462790
Represents the embedded application Doodle Crew.
27472791

2748-
.. attribute:: fishing
2792+
.. attribute:: fishington
27492793

27502794
Represents the embedded application Fishington.io
27512795

27522796
.. attribute:: letter_tile
27532797

27542798
Represents the embedded application Letter Tile.
2799+
2800+
.. attribute:: pn_stagging
27552801

2756-
.. attribute:: poker
2802+
Represents the embedded application Poker Night Staging.
2803+
2804+
.. attribute:: poker_night
27572805

27582806
Represents the embedded application Poker Night.
2807+
2808+
.. attribute:: poker_night
2809+
2810+
Represents the embedded application Poker QA.
2811+
2812+
.. attribute:: putts
2813+
2814+
Represents the embedded application Putts.
27592815

2816+
.. attribute:: sketchy_artist
2817+
2818+
Represents the embedded application Sketchy Artist.
2819+
2820+
.. attribute:: sketchy_artist_dev
2821+
2822+
Represents the embedded application Sketchy Artist development version.
2823+
27602824
.. attribute:: spell_cast
27612825

27622826
Represents the embedded application Spell Cast.
27632827

27642828
.. attribute:: watch_together
27652829

2766-
Same as `youtube` with remote feature which allows guild admins to limit the playlist access.
2830+
Same as :attr:`~EmbeddedActivity.youtube_together` with remote feature which allows guild admins to limit the playlist access.
27672831

27682832
.. attribute:: watch_together_dev
27692833

2770-
Development version of `watch_together`.
2771-
2772-
.. attribute:: word_snack
2773-
2774-
Represents the embedded application Word Snacks.
2834+
Development version of :attr:`.watch_together`.
27752835

2776-
.. attribute:: youtube
2836+
.. attribute:: word_snacks
2837+
2838+
Represents the embedded application word snacks.
2839+
2840+
.. attribute:: word_snacks_dev
2841+
2842+
Represents the embedded application word snacks. This is development version of :attr:`.word_snacks`
2843+
2844+
.. attribute:: youtube_together
27772845

27782846
Represents the embedded application Youtube Together.
2779-
2847+
2848+
27802849

27812850
Async Iterator
27822851
----------------

0 commit comments

Comments
 (0)