diff options
| author | 2021-02-17 20:03:30 +0200 | |
|---|---|---|
| committer | 2021-02-17 20:03:30 +0200 | |
| commit | d36ea6430faefefc0b60c9f7ac87bc89aaf2b5b5 (patch) | |
| tree | 4bb4cfdbf8c45a2efc980fb191b5a3899a81448f | |
| parent | Gave more meaningful name and description to the cache (diff) | |
Error loading settings will also ping devops role
| -rw-r--r-- | bot/constants.py | 1 | ||||
| -rw-r--r-- | bot/exts/moderation/defcon.py | 4 | ||||
| -rw-r--r-- | config-default.yml | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index cbab751d0..65e8230c5 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -483,6 +483,7 @@ class Roles(metaclass=YAMLGetter): admins: int core_developers: int + devops: int helpers: int moderators: int owners: int diff --git a/bot/exts/moderation/defcon.py b/bot/exts/moderation/defcon.py index 44fb8dc8f..66b551425 100644 --- a/bot/exts/moderation/defcon.py +++ b/bot/exts/moderation/defcon.py @@ -89,7 +89,9 @@ class Defcon(Cog): self.expiry = datetime.fromisoformat(settings["expiry"]) if settings["expiry"] else None except Exception: log.exception("Unable to get DEFCON settings!") - await self.channel.send(f"<@&{Roles.moderators}> **WARNING**: Unable to get DEFCON settings!") + await self.channel.send( + f"<@&{Roles.moderators}> <@&{Roles.devops}> **WARNING**: Unable to get DEFCON settings!" + ) else: if self.expiry: diff --git a/config-default.yml b/config-default.yml index a37743c15..59da23169 100644 --- a/config-default.yml +++ b/config-default.yml @@ -257,6 +257,7 @@ guild: # Staff admins: &ADMINS_ROLE 267628507062992896 core_developers: 587606783669829632 + devops: 409416496733880320 helpers: &HELPERS_ROLE 267630620367257601 moderators: &MODS_ROLE 267629731250176001 owners: &OWNERS_ROLE 267627879762755584 |