mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Fix build
This commit is contained in:
parent
151204c7a4
commit
637ba2ac99
|
|
@ -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) {
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user