Commit Graph

1845 Commits

Author SHA1 Message Date
Mia
f873e0d42a
Fix /forcerename 2021-02-15 14:35:28 -06:00
Mia
7447130127
Chat: Fix parseSpoiler adding undefined strings 2021-02-15 12:50:51 -06:00
Guangcong Luo
61ea2dd916 Implement Utils.escapeHTMLForceWrap
Combining escapeHTML and forceWrap allows us to use <wbr /> instead
of U+200B, fixing a copy/paste bug.
2021-02-15 06:09:58 -05:00
Guangcong Luo
0dc3070229 Fix /hangman terms 2021-02-15 06:09:58 -05:00
Guangcong Luo
e1ac274b5a Deprecate /ioo 2021-02-15 05:56:44 -05:00
Mia
a6520350d3
Implement /msgroom (#8036) 2021-02-15 02:54:35 -08:00
Distrib
640eed65d1
Hangman: Improve hangman terms (#8027) 2021-02-15 02:47:14 -08:00
Distrib
313a51652a
UNO: Add /uno cards command (#8001) 2021-02-15 01:56:57 -08:00
Mia
4f0ff8cc96
Youtube: Support Twitch streams/channels (#8005) 2021-02-15 01:54:49 -08:00
Guangcong Luo
bce402d021 Fix context.parse() returning a string 2021-02-15 01:51:41 -08:00
Mia
f2f17885db
Deprecate /groupchatban (#8028) 2021-02-15 01:35:59 -08:00
Mia
5ec2172647
Moderation: Add spoilers support to more commands (#8033) 2021-02-15 01:33:43 -08:00
Annika
8f5c75cc76
Fix typo 2021-02-14 11:45:42 -08:00
Annika
2b2f5f37ba
Hangman: Fix crash when a room has no saved words 2021-02-14 11:45:18 -08:00
Mia
010ffe1a41
Admin: Fix /disablecommand message (#8019) 2021-02-13 23:19:59 -05:00
Volco
99cb8ea055
Fix helptickets game.ticket setting to undefined (#8000) 2021-02-13 23:18:40 -05:00
Mia
3d820cf38d
Ladders: Fix crash (#8015)
* Ladders: Fix crash

* OK

* Update ladders-remote.ts

* Update server/ladders-remote.ts

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>

* Update server/ladders-remote.ts

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-02-13 18:18:06 -08:00
Kris Johnson
0583a61e4c
Add a chat page for /usersearch (#8022) 2021-02-13 18:01:25 -08:00
Kris Johnson
b8cbee3944
Update OMotM/LCotM aliases (#8025) 2021-02-12 19:06:11 -07:00
Annika
1c8b5f73c1
Hangman: Fix bug with whitespace
Whitespace was tripping the chat filter for hangmans.
2021-02-11 15:49:20 -08:00
Kris Johnson
f347f4d4f2 Room FAQs: Fix grammar 2021-02-11 14:31:58 -07:00
zgeorgecsat
d692f2d0e2
Fix /mafia unhostban (#8012) 2021-02-10 21:22:58 -08:00
Mia
c9cbc8268f
Usergroups: Remove deprecated 's' permission (#7676) 2021-02-10 02:23:20 -08:00
Volco
0290643948
Fix minor activity timer not queuing polls (#8002) 2021-02-09 21:01:34 -08:00
Distrib
6aa8e268ce
Uno: Fix crash (#8016) 2021-02-09 17:31:06 -08:00
Annika
5333b4629d
Revert "Calculate and display Elo change on server (#7960)" (#8014)
This reverts commit b87dd717f6.
2021-02-09 11:06:42 -08:00
Annika
60e063ff01 Trivia: Add /trivia lastofficialscore
Requested by @TheMezStrikes
2021-02-09 10:41:00 -08:00
Annika
23f0c42ca4 Trivia: Always display question numbers 2021-02-08 22:26:06 -08:00
Annika
6398bb67ee Remove /unbanall
Approved: https://discord.com/channels/534298043176976395/565617827298541572/783311845279662120
2021-02-08 20:24:05 -08:00
Annika
963a269912 Trivia: Properly display question-based scorecaps 2021-02-08 17:59:40 -08:00
Annika
cd2e7325e8 Trivia: Fix confirmation for /trivia migrate 2021-02-08 16:59:58 -08:00
Annika
a14ea20be4 Trivia: Add a /trivia migrate command 2021-02-07 21:21:59 -08:00
Annika
3e4349d41b Trivia: Fix prizes for question-capped games 2021-02-07 21:01:16 -08:00
Annika
8bf6b92b99 Trivia: Support capping games by questions asked 2021-02-07 21:00:04 -08:00
Annika
ff55a87484 Trivia: Add a /trivia moveusedevent command 2021-02-07 21:00:04 -08:00
Distrib
27f103fd67
Announcements: Don't re-display on hotpatch (#7999) 2021-02-07 04:43:38 +04:00
Distrib
4944b111eb
UNO: Fix double turn after auto-disqualification (#7996) 2021-02-05 22:47:38 +04:00
DayanYT
b996f7283e
Mafia: Fix typo (#7995) 2021-02-05 09:58:04 -05:00
Annika
204bfad9b1 Trivia: Add "Event" and "Event (used)" categories
These categories are special–questions in the Event category move to Event (used) after they're asked in a game. Requested by QW mods and ROs
2021-02-04 15:54:18 -08:00
Annika
b46e90db73 Trivia: Use object spread for ALL_CATEGORIES 2021-02-04 15:51:41 -08:00
Annika
2dd9d252d5 Trivia: Fix crash in /trivia qs
Previously, /trivia qs crashed if no questions had ever been added to the category.
2021-02-04 15:49:44 -08:00
Guangcong Luo
aefe861568 Allow drivers to use /host
Drivers can see IPs in certain specialized conditions, which makes
`/host` a useful and harmless tool for them.
2021-02-03 22:51:42 -08:00
Instruct
7989e4df4f
/battlefactory: Fix searching for nonexistent tiers (#7989)
* BF cmd: Fix crash searching for a valid tier not included in a specific gen

* Update server/chat-plugins/random-battles.ts

* Update server/chat-plugins/random-battles.ts

* Update server/chat-plugins/random-battles.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2021-02-02 21:56:08 -07:00
Guangcong Luo
782f316dd9
Merge BattleStream and RoomBattleStream commands (#7988)
RoomBattleStream originally overrode `_writeLine` in #5428 because
`>eval` had a dependency on `Chat.stringify`, and we were trying to
separate sim and server.

`Chat.stringify` is now `Utils.visualize`, so there's no more reason
for the separation. In addition, the separation is actively bad,
because it makes it impossible to import certain inputlogs outside
of the simulator.
2021-02-02 15:03:03 -08:00
Guangcong Luo
148439dc27 Refactor /editbattle
This moves the `player()` and `pokemon()` functions to be defined
inside `eval`, allowing them to be used by `>>>` and `/evalbattle`.

This should hopefully make the commands more readable as well.
2021-02-02 13:52:16 -08:00
Guangcong Luo
796be8da60 Implement /ebat reseed
Fixes #7963
2021-02-02 13:45:34 -08:00
Distrib
cf9f7a5a19
UNO: Fix turn order after a disqualification (#7944) 2021-02-02 12:03:46 -08:00
aQrator
271bed474f
Update scavengers.ts (#7986)
Fix /scavhelp to say /scavhelp staff instead of /roomhelp staff
2021-02-03 00:02:29 +04:00
Mia
b97ba59149
NN filters: Parse /me properly (#7987) 2021-02-03 00:02:00 +04:00
Mia
13a2a802a1
YouTube: Add a command to disable the interval (#7984) 2021-02-02 11:11:54 -08:00