From 15224b0a8c9417e71219f3ff4e8c2aecb88fae3a Mon Sep 17 00:00:00 2001 From: Cam Caswell Date: Tue, 12 Jul 2022 11:14:36 -0400 Subject: Add revival of code role to self-assignable --- bot/constants.py | 1 + bot/exts/info/subscribe.py | 1 + config-default.yml | 1 + 3 files changed, 3 insertions(+) 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 -- cgit v1.2.3