Skip to content

Commit 3045a56

Browse files
authored
Add ask-the-locals, reorder channels (#248)
* Move Sponsors and Remote Attendees before Rooms * Move job-board to Information * Add channel '#ask-the-locals'
1 parent 08ef208 commit 3045a56

File tree

1 file changed

+68
-59
lines changed

1 file changed

+68
-59
lines changed

scripts/configure-guild.py

Lines changed: 68 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,50 @@ def verify_permission_roles(self) -> Self:
383383
""",
384384
],
385385
),
386+
ForumChannel(
387+
name="job-board",
388+
topic="""
389+
Make sure your job openings follows the following rules:
390+
391+
1. Title: A clear and concise title including the role and the Company/Organization
392+
2. Job Type: Indicate whether the job is full-time, part-time, contract-based, freelance, or an internship.
393+
3. Job Description: Provide a URL or text explaining the job.
394+
4. Application Deadline: If there is a specific deadline for applications, mention it in the post.
395+
5. Salary/Compensation: If possible and appropriate, include salary or compensation details.
396+
6. Additional Information: stuff like: perks, or notable company culture, include them in the post.
397+
7. Relevant Tags: Use relevant tags or keywords to categorize the job post. Please let us know if important tags are missing.
398+
8. No Discrimination: Ensure that the job post does not include any discriminatory language or requirements.
399+
9. Updates and Removal: If the job position is filled or no longer available, update or remove the post to avoid confusion for job seekers.
400+
""", # noqa: E501 (line too long)
401+
tags=[
402+
"Remote",
403+
"Hybrid",
404+
"On-site",
405+
"AI",
406+
"Data Science",
407+
"Data Engineering",
408+
"Backend",
409+
"Frontend",
410+
"Full Stack",
411+
"Cloud",
412+
"Web",
413+
"DevOps",
414+
"Junior",
415+
"Professional",
416+
"Senior",
417+
],
418+
require_tag=True,
419+
permission_overwrites=[
420+
PermissionOverwrite(
421+
roles=ROLES_SPONSORS, allow=["send_messages", "create_public_threads"]
422+
),
423+
],
424+
),
386425
],
387426
permission_overwrites=[
388-
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["send_messages"])
427+
PermissionOverwrite(
428+
roles=[ROLE_EVERYONE], deny=["send_messages", "create_public_threads"]
429+
)
389430
],
390431
),
391432
Category(
@@ -422,6 +463,13 @@ def verify_permission_roles(self) -> Self:
422463
name="introduction",
423464
topic="Feel free to introduce yourself here :)",
424465
),
466+
TextChannel(
467+
name="ask-the-locals",
468+
topic="""
469+
The right place to ask locals for help and experience.
470+
Many people recommended the YouTube channel 'HONEST GUIDE', maybe you find it helpful as well: https://www.youtube.com/@HONESTGUIDE
471+
""", # noqa: E501 (line too long)
472+
),
425473
ForumChannel(
426474
name="topics-and-interests",
427475
topic="""
@@ -459,6 +507,25 @@ def verify_permission_roles(self) -> Self:
459507
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
460508
],
461509
),
510+
Category(
511+
name="Remote Attendees",
512+
channels=[
513+
TextChannel(name="remote-text", topic="Text chat for remote attendees"),
514+
VoiceChannel(name="remote-voice"),
515+
],
516+
permission_overwrites=[
517+
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["view_channel"]),
518+
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
519+
],
520+
),
521+
Category(
522+
name="Sponsors",
523+
channels=[],
524+
permission_overwrites=[
525+
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["view_channel"]),
526+
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
527+
],
528+
),
462529
Category(
463530
name="Rooms",
464531
channels=[
@@ -539,17 +606,6 @@ def verify_permission_roles(self) -> Self:
539606
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
540607
],
541608
),
542-
Category(
543-
name="Remote Attendees",
544-
channels=[
545-
TextChannel(name="remote-text", topic="Text chat for remote attendees"),
546-
VoiceChannel(name="remote-voice"),
547-
],
548-
permission_overwrites=[
549-
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["view_channel"]),
550-
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
551-
],
552-
),
553609
Category(
554610
name="Conference Organization",
555611
channels=[
@@ -626,53 +682,6 @@ def verify_permission_roles(self) -> Self:
626682
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["view_channel"]),
627683
],
628684
),
629-
Category(
630-
name="Sponsors",
631-
channels=[
632-
ForumChannel(
633-
name="job-board",
634-
topic="""
635-
Make sure your job openings follows the following rules:
636-
637-
1. Title: A clear and concise title including the role and the Company/Organization
638-
2. Job Type: Indicate whether the job is full-time, part-time, contract-based, freelance, or an internship.
639-
3. Job Description: Provide a URL or text explaining the job.
640-
4. Application Deadline: If there is a specific deadline for applications, mention it in the post.
641-
5. Salary/Compensation: If possible and appropriate, include salary or compensation details.
642-
6. Additional Information: stuff like: perks, or notable company culture, include them in the post.
643-
7. Relevant Tags: Use relevant tags or keywords to categorize the job post. Please let us know if important tags are missing.
644-
8. No Discrimination: Ensure that the job post does not include any discriminatory language or requirements.
645-
9. Updates and Removal: If the job position is filled or no longer available, update or remove the post to avoid confusion for job seekers.
646-
""", # noqa: E501 (line too long)
647-
tags=[
648-
"Remote",
649-
"Hybrid",
650-
"On-site",
651-
"AI",
652-
"Data Science",
653-
"Data Engineering",
654-
"Backend",
655-
"Frontend",
656-
"Full Stack",
657-
"Cloud",
658-
"Web",
659-
"DevOps",
660-
"Junior",
661-
"Professional",
662-
"Senior",
663-
],
664-
require_tag=True,
665-
permission_overwrites=[
666-
PermissionOverwrite(roles=ROLES_REGISTERED, deny=["create_public_threads"]),
667-
PermissionOverwrite(roles=ROLES_SPONSORS, allow=["create_public_threads"]),
668-
],
669-
),
670-
],
671-
permission_overwrites=[
672-
PermissionOverwrite(roles=[ROLE_EVERYONE], deny=["view_channel"]),
673-
PermissionOverwrite(roles=ROLES_REGISTERED, allow=["view_channel"]),
674-
],
675-
),
676685
Category(
677686
name="Registration",
678687
channels=[

0 commit comments

Comments
 (0)