aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-07-12 16:26:41 +0100
committerGravatar GitHub <[email protected]>2022-07-12 16:26:41 +0100
commit38b6fca58936cd41041b7f8b4f80da2dea8b5313 (patch)
tree054036e277540f48910095b4b360f167deca370c
parentMerge pull request #2214 from python-discord/mbaruh/regex-tag-fix (diff)
parentAdd revival of code role to self-assignable (diff)
Merge pull request #2215 from python-discord/revival-of-code-role
Add revival of code role to self-assignable
-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 4531b547d..c39f9d2b8 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -488,6 +488,7 @@ class Roles(metaclass=YAMLGetter):
announcements: int
lovefest: int
pyweek_announcements: int
+ revival_of_code: int
contributors: int
help_cooldown: int
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py
index d37c97281..e36ce807c 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -50,6 +50,7 @@ ASSIGNABLE_ROLES = (
AssignableRole(constants.Roles.pyweek_announcements, 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)),
)
ITEMS_PER_ROW = 3
diff --git a/config-default.yml b/config-default.yml
index dae923158..91945e2b8 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -269,6 +269,7 @@ guild:
announcements: 463658397560995840
lovefest: 542431903886606399
pyweek_announcements: 897568414044938310
+ revival_of_code: 988801794668908655
contributors: 295488872404484098
help_cooldown: 699189276025421825