aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-14 15:05:42 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-14 15:05:42 +0200
commit9ae39f343a685a985778797e9f9195d205bc2e43 (patch)
treeb78dc362be1d67ea519fa7a789e3de456fd3f00c
parentWe now also detect bot tokens outside quotes. (diff)
Nuking the Roles.developer role.
We're not really using this, we're using Roles.verified. This provides superiour readability, and there's no reason we should use two instead of just one. I also added a comment to clarify that this role represents the Developers role on pydis.
-rw-r--r--bot/cogs/jams.py2
-rw-r--r--bot/constants.py3
-rw-r--r--config-default.yml1
3 files changed, 2 insertions, 4 deletions
diff --git a/bot/cogs/jams.py b/bot/cogs/jams.py
index 96b98e559..43b31672b 100644
--- a/bot/cogs/jams.py
+++ b/bot/cogs/jams.py
@@ -65,7 +65,7 @@ class CodeJams:
connect=True
),
ctx.guild.default_role: PermissionOverwrite(read_messages=False, connect=False),
- ctx.guild.get_role(Roles.developer): PermissionOverwrite(
+ ctx.guild.get_role(Roles.verified): PermissionOverwrite(
read_messages=False,
connect=False
)
diff --git a/bot/constants.py b/bot/constants.py
index c2b778b6e..45c332438 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -374,13 +374,12 @@ class Roles(metaclass=YAMLGetter):
announcements: int
champion: int
contributor: int
- developer: int
devops: int
jammer: int
moderator: int
muted: int
owner: int
- verified: int
+ verified: int # This is the Developers role on PyDis, here named verified for readability reasons.
helpers: int
team_leader: int
diff --git a/config-default.yml b/config-default.yml
index 4c9cb72dc..fb33caaf6 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -127,7 +127,6 @@ guild:
announcements: 463658397560995840
champion: 430492892331769857
contributor: 295488872404484098
- developer: 352427296948486144
devops: &DEVOPS_ROLE 409416496733880320
jammer: 423054537079783434
moderator: &MOD_ROLE 267629731250176001