File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ export default class PermissionManager extends BotComponent {
185185 } ) ;
186186 this . add_channel_overwrite ( this . wheatley . channels . announcements , read_only_channel ) ;
187187 this . add_channel_overwrite ( this . wheatley . channels . resources , read_only_channel ) ;
188+ this . add_channel_overwrite ( this . wheatley . channels . old_resources , read_only_channel ) ;
188189 this . add_channel_overwrite ( this . wheatley . channels . partners , read_only_channel ) ;
189190 this . add_channel_overwrite ( this . wheatley . channels . articles , read_only_channel ) ;
190191 this . add_channel_overwrite ( this . wheatley . channels . server_suggestions , {
@@ -231,6 +232,13 @@ export default class PermissionManager extends BotComponent {
231232 // community overrides
232233 this . add_channel_overwrite ( this . wheatley . channels . polls , {
233234 ...read_only_channel_no_reactions ,
235+ [ this . wheatley . roles . moderators . id ] : {
236+ allow : [
237+ Discord . PermissionsBitField . Flags . ManageThreads ,
238+ Discord . PermissionsBitField . Flags . ViewChannel ,
239+ Discord . PermissionsBitField . Flags . SendMessages ,
240+ ] ,
241+ } ,
234242 } ) ;
235243 this . add_channel_overwrite ( this . wheatley . channels . today_i_learned , {
236244 ...default_permissions ,
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ const channels_map = {
9191 skill_role_suggestions : tuple ( "1211089633547526204" , Discord . ForumChannel ) ,
9292 skill_roles_meta : tuple ( "1182536717056618557" , Discord . TextChannel ) ,
9393 news : tuple ( "1269506410530738267" , Discord . ForumChannel ) ,
94+ old_resources : tuple ( "1124619767542718524" , Discord . ForumChannel ) ,
9495 resources : tuple ( "1361574878561570926" , Discord . TextChannel ) ,
9596 partners : tuple ( "904790565000986745" , Discord . TextChannel ) ,
9697 the_button : tuple ( "1069678919667687455" , Discord . TextChannel ) ,
You can’t perform that action at this time.
0 commit comments