File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,13 +183,16 @@ class _Roles(EnvConfig, env_prefix="ROLE_"):
183183 event_runner : int = 940911658799333408
184184 summer_aoc : int = 988801794668908655
185185 code_jam_participants : int = 991678713093705781
186- code_jam_team_leads : int = 1262472493755797594
187186 code_jam_support : int = 1254657197535920141
188187 helpers : int = 267630620367257601
189188 aoc_completionist : int = 1191547731873894440
190189 bots : int = 277546923144249364
191190 moderation_team : int = 267629731250176001
192191
192+ team_list : int = 1222691191582097418
193+ team_dict : int = 1222691368653033652
194+ team_tuple : int = 1222691399246286888
195+
193196
194197Roles = _Roles ()
195198
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ async def announce(self, ctx: commands.Context) -> None:
9696 @commands .has_any_role (Roles .admins , Roles .events_lead )
9797 async def end (self , ctx : commands .Context ) -> None :
9898 """
99- Delete all code jam channels and team-specific roles .
99+ Delete all code jam channels.
100100
101101 A confirmation message is displayed with the categories and channels
102102 that are going to be deleted, by pressing "Confirm" the deletion
@@ -142,13 +142,6 @@ async def end(self, ctx: commands.Context) -> None:
142142 view = confirm_view
143143 )
144144 await confirm_view .wait ()
145-
146- # Unassign the code jam participant and team lead roles, without deleting the roles themselves
147- for permanent_role_id in (Roles .code_jam_team_leads , Roles .code_jam_participants ):
148- permanent_role = await ctx .guild .get_role (permanent_role_id )
149- for user in permanent_role .members :
150- await user .remove_roles (permanent_role )
151-
152145 await ctx .send ("Code Jam has officially ended! :sunrise:" )
153146
154147 @codejam .command ()
You can’t perform that action at this time.
0 commit comments