Codex commited on
Commit ·
812314a
1
Parent(s): 8960b50
Update JR alerts description
Browse files- src/embeds.js +1 -1
- test/alerts.test.js +1 -1
src/embeds.js
CHANGED
|
@@ -319,7 +319,7 @@ export function buildAlertsEmbed() {
|
|
| 319 |
'@GarAlerts - MLB',
|
| 320 |
'@RIIPAlerts - MLB / NBA / NFL',
|
| 321 |
'@ZylisAlerts - MLB / NBA',
|
| 322 |
-
'@JRAlerts - NBA',
|
| 323 |
].join('\n'))
|
| 324 |
.setFooter({ text: 'Click again any time to remove an alert role.' });
|
| 325 |
}
|
|
|
|
| 319 |
'@GarAlerts - MLB',
|
| 320 |
'@RIIPAlerts - MLB / NBA / NFL',
|
| 321 |
'@ZylisAlerts - MLB / NBA',
|
| 322 |
+
'@JRAlerts - NBA / MLB',
|
| 323 |
].join('\n'))
|
| 324 |
.setFooter({ text: 'Click again any time to remove an alert role.' });
|
| 325 |
}
|
test/alerts.test.js
CHANGED
|
@@ -28,7 +28,7 @@ test('builds the alerts embed with all analyst lines', () => {
|
|
| 28 |
|
| 29 |
assert.match(embed.description, /We are moving from @ everyone alerts/i);
|
| 30 |
assert.match(embed.description, /@PhazzAlerts - MLB \/ NBA/);
|
| 31 |
-
assert.match(embed.description, /@JRAlerts - NBA/);
|
| 32 |
});
|
| 33 |
|
| 34 |
test('builds two rows of alert role buttons and round-trips custom ids', () => {
|
|
|
|
| 28 |
|
| 29 |
assert.match(embed.description, /We are moving from @ everyone alerts/i);
|
| 30 |
assert.match(embed.description, /@PhazzAlerts - MLB \/ NBA/);
|
| 31 |
+
assert.match(embed.description, /@JRAlerts - NBA \/ MLB/);
|
| 32 |
});
|
| 33 |
|
| 34 |
test('builds two rows of alert role buttons and round-trips custom ids', () => {
|