Fix build

This commit is contained in:
Kris Johnson 2024-10-01 12:49:55 -06:00
parent 151204c7a4
commit 637ba2ac99
2 changed files with 5 additions and 5 deletions

View File

@ -128,14 +128,14 @@ BAD:
```ts
// if ten seconds have passed and the user is staff
if (now > then + 10_000 && '&@%'.includes(user.tempGroup)) {
if (now > then + 10_000 && '~@%'.includes(user.tempGroup)) {
```
GOOD:
```ts
const tenSecondsPassed = now > then + 10_000;
const userIsStaff = '&@%'.includes(user.tempGroup);
const userIsStaff = '~@%'.includes(user.tempGroup);
if (tenSecondsPassed && userIsStaff) {
```

View File

@ -555,7 +555,7 @@ exports.chatlogreader = 'fs';
*/
exports.grouplist = [
{
symbol: '&',
symbol: '~',
id: "admin",
name: "Administrator",
inherit: '@',
@ -565,7 +565,7 @@ exports.grouplist = [
console: true,
bypassall: true,
lockdown: true,
promote: '&u',
promote: '~u',
roomowner: true,
roombot: true,
roommod: true,
@ -651,7 +651,7 @@ exports.grouplist = [
timer: true,
modlog: true,
alts: '%u',
bypassblocks: 'u%@&~',
bypassblocks: 'u%@~',
receiveauthmessages: true,
gamemoderation: true,
jeopardy: true,