aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-02-13 23:33:17 +0200
committerGravatar mbaruh <[email protected]>2023-02-13 23:33:17 +0200
commit9734327c3066eccc676cdc2f2bf8c07d000aaa48 (patch)
tree6d173718f95f782fe8b0081deef85c779c8a46c1
parentMerge pull request #2396 from shtlrs/bump-bot-core-to-9-4-1 (diff)
Add legacy help access to self-assignable roles
-rw-r--r--bot/constants.py1
-rw-r--r--bot/exts/info/subscribe.py1
-rw-r--r--config-default.yml1
3 files changed, 3 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 3c29ce887..f1fb5471f 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -489,6 +489,7 @@ class Roles(metaclass=YAMLGetter):
lovefest: int
pyweek_announcements: int
revival_of_code: int
+ legacy_help_channels_access: int
contributors: int
help_cooldown: int
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py
index 86a209214..7f4b4f95a 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -49,6 +49,7 @@ class AssignableRole:
ASSIGNABLE_ROLES = (
AssignableRole(constants.Roles.announcements, None),
AssignableRole(constants.Roles.pyweek_announcements, None),
+ AssignableRole(constants.Roles.legacy_help_channels_access, None),
AssignableRole(constants.Roles.lovefest, (1, 2)),
AssignableRole(constants.Roles.advent_of_code, (11, 12)),
AssignableRole(constants.Roles.revival_of_code, (7, 8, 9, 10)),
diff --git a/config-default.yml b/config-default.yml
index ac76a670a..de0f7e4e8 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -271,6 +271,7 @@ guild:
lovefest: 542431903886606399
pyweek_announcements: 897568414044938310
revival_of_code: 988801794668908655
+ legacy_help_channels_access: 1074780483776417964
contributors: 295488872404484098
help_cooldown: 699189276025421825