Skip to content

Commit c60566c

Browse files
authored
Merge pull request #1002 from allthingslinux/rolecount/update
fix: updated rolecount.py to be more reflected of our current roles
2 parents a413420 + 9ea2c21 commit c60566c

File tree

1 file changed

+20
-31
lines changed

1 file changed

+20
-31
lines changed

tux/cogs/guild/rolecount.py

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
[1175219898113331331, "_icewm"],
3030
[1175337897180803082, "_openbox"],
3131
[1175336806963744788, "_wayfire"],
32-
[1185972642260455445, "_berry"],
33-
[1192097654818226256, "_leftwm"],
32+
[1367180985602412668, "_cosmic"],
3433
[1192149690096033882, "_budgie"],
3534
[1196324646170148925, "_riverwm"],
36-
[1212033435858898995, "_enlightenment"],
35+
[1350877106606968903, "_niri"],
3736
[1212031657805221930, "_stumpwm"],
3837
[1232200058737397771, "_lxqt"],
38+
[1297922269628338290, "grey_question"], # Other DE/WM role
3939
]
4040

4141
distro_ids = [
@@ -45,48 +45,33 @@
4545
[1175176812293271652, "_ubuntu"],
4646
[1175235143707918436, "_windows"],
4747
[1175176279616663573, "_gentoo"],
48-
[1175227850119458897, "_freebsd"],
48+
[1175227850119458897, "_freebsd"], # *BSD role
4949
[1175177831551086593, "_nixos"],
5050
[1175178088347344916, "_void"],
5151
[1175176981936087161, "_opensuse"],
5252
[1175244437530611712, "_macos"],
5353
[1175241975818092564, "_alpine"],
5454
[1175177993526726717, "_linuxmint"],
55-
[1175221054684286996, "_openbsd"],
5655
[1176533514385096714, "_bedrock"],
57-
[1178347402730688542, "_endeavouros"],
58-
[1178391378812735508, "_artix"],
56+
[1290975975919849482, "_arch"], # Arch-based role
5957
[1182152672447569972, "_slackware"],
60-
[1178347123905929316, "_popos"],
61-
[1175177750143848520, "_kisslinux"],
58+
[1178347123905929316, "_ubuntu"], # Ubuntu-basesd role
6259
[1180570700734546031, "_lfs"],
63-
[1191106506276479067, "_garuda"],
6460
[1192177499413684226, "_asahi"],
6561
[1207599112585740309, "_fedoraatomic"],
66-
[1232383833152819282, "_solus"],
6762
[1210000519272079411, "_redhat"],
68-
[1232199326722293790, "_mxlinux"],
69-
[1232387598107017227, "_netbsd"],
70-
[1232385920335089734, "_qubesos"],
7163
[1212028841103597679, "_plan9"],
72-
[1232390816312590369, "_devuan"],
73-
[1221123322100584518, "_zorin"],
74-
[1220995767813013544, "_chimera"],
75-
[1237701796940611635, "_antix"],
7664
[1237704018629885983, "_cachyos"],
77-
[1237702486421147698, "_rockylinux"],
78-
[1237701203404783698, "_nobara"],
79-
[1237700290732490762, "_deepin"],
80-
[1269381234384048169, "_vanillaos"],
65+
[1237701203404783698, "_fedora"], # Fedora-based role
8166
]
8267

8368
lang_ids = [
8469
[1175612831996055562, "_python"],
85-
[1175612831861837864, "_bash"],
86-
[1175612831941525574, "_html"],
87-
[1175612831115260006, "_javascript"],
70+
[1175612831861837864, "_sh"], # Shell Script role
71+
[1175612831941525574, "_html"], # HTML/CSS role
72+
[1175612831115260006, "_javascript"], # JS/TS role
8873
[1175612831652139008, "_c"],
89-
[1175612832029609994, "_cplusplus"],
74+
[1386793293576409139, "_cplusplus"],
9075
[1175612831790534797, "_lua"],
9176
[1175612831631155220, "_rust"],
9277
[1175612831907979336, "_java"],
@@ -109,6 +94,7 @@
10994
[1232389554426876045, "_godot"],
11095
[1232390379337285692, "_nim"],
11196
[1237700521465217084, "_swift"],
97+
[1214465450860351498, "_r"],
11298
]
11399

114100
vanity_ids = [
@@ -130,9 +116,10 @@
130116
[1217601089721995264, "old_man"],
131117
[1217866697751400518, "ear_of_rice"],
132118
[1212039041269366854, "chess_pawn"],
119+
[1346489154766372874, "headphones"],
133120
]
134121

135-
misc_ids = [
122+
editor_ids = [
136123
[1182069378636849162, "_vsc"],
137124
[1180571441276649613, "_nvim"],
138125
[1180660198428393643, "_emacs"],
@@ -143,10 +130,12 @@
143130
[1185974067472380015, "_helix"],
144131
[1192139311919935518, "_kakoune"],
145132
[1187804435578093690, "_ed"],
146-
[1189236454153527367, "_gecko"],
147-
[1189236400571301958, "_chromium"],
133+
[1392616344075243570, "_Cursor"],
134+
[1367199970587050035, "_zed"],
148135
]
149136

137+
# TODO: Shell Roles (needs emojis)
138+
150139
# TODO: Figure out how to make rolecount work without hard coded ids
151140

152141

@@ -157,7 +146,7 @@ def __init__(self, bot: Tux):
157146
"ds": distro_ids,
158147
"lg": lang_ids,
159148
"de": des_ids,
160-
"misc": misc_ids,
149+
"edit": editor_ids,
161150
"vanity": vanity_ids,
162151
}
163152

@@ -168,7 +157,7 @@ def __init__(self, bot: Tux):
168157
app_commands.Choice(name="Distro", value="ds"),
169158
app_commands.Choice(name="Language", value="lg"),
170159
app_commands.Choice(name="DE/WM", value="de"),
171-
app_commands.Choice(name="Misc", value="misc"),
160+
app_commands.Choice(name="Editors", value="edit"),
172161
app_commands.Choice(name="Vanity", value="vanity"),
173162
],
174163
)

0 commit comments

Comments
 (0)