Commit Graph

23714 Commits

Author SHA1 Message Date
Kris Johnson
497d3a6972 Add May 2021's OMotM, LCotM, and RoA Spotlight 2021-05-01 01:21:59 -06:00
Instruct
df2cb402b4
SSB: Fix fart's signature move from refactor (#8245) 2021-04-30 21:39:39 -07:00
Instruct
a9d4374e59
Tag Mythical and Legendary pokemon (#8142) 2021-04-30 21:34:17 -07:00
Guangcong Luo
70bef9b1ae Improve error message for nonexistent pokemon 2021-04-30 20:12:18 -07:00
Guangcong Luo
b82ee0588e Fix bug in ban reason message 2021-04-30 20:07:40 -07:00
Guangcong Luo
e450e8082e Fix bug in requireUser refactor 2021-04-30 18:32:43 -07:00
Guangcong Luo
4d70b0a46a
Use data/tags for validator (#8218)
Previously, the validator had its own hardcoded tag system. This
removes the hardcoding and makes it so any pokemon tag in `tags.ts`
can be banned or unbanned.
2021-04-30 18:20:30 -07:00
Guangcong Luo
a480a84ce4 Chat API: Add requireUser
This simplifies a lot of `splitUser` uses that immediately go on
to make sure the user actually exists.
2021-04-30 17:14:35 -07:00
Guangcong Luo
0230a002fd Make bot attribution stricter
Admins should not be using `addhtml` commands for jokes. This makes
it so only gbots get access to unattributed `addhtml`.
2021-04-30 17:14:35 -07:00
Kris Johnson
ed8565a6db Free-For-All: Fix banlist and add alias 2021-04-30 11:18:46 -06:00
Marty-D
9651613c65
Mix & Mega: Ban Zacian
https://www.smogon.com/forums/threads/ss-m-m-zacian-voting.3683358/#post-8839666
2021-04-30 11:00:06 -04:00
Marty-D
5b0391e91b
Fix build 2021-04-30 10:57:53 -04:00
Kris Johnson
5b8dfc7d8e [Gen 1] Japanese OU: Allow Japanese event moves 2021-04-30 01:55:06 -06:00
May Evans
d2f9d52403
Gen 1: Fix Japanese OU and Tradebacks OU legality (#8242)
* [Gen 1] OU Standard rules, fix validator rule name

erm...

* Fix [Gen 1] Japanese OU & Tradebacks OU

- [Gen 1] Japanese OU shouldn't use the Nintendo Cup 1997 Legality unless you want it to be "RG OU" or something. If so, the name should be changed for accuracy.
- [Gen 1] Tradebacks OU shouldn't complex ban those combinations, the Stadium 2 relearner fixes them all.

* I really did do that huh
2021-04-30 01:44:56 -06:00
Kris Johnson
51d8a8a590 Add unrated Free-For-All ladder 2021-04-30 01:04:14 -06:00
The Immortal
44e66a6d81
CAP 1v1: Add Chromera (#8252) 2021-04-29 18:40:15 -06:00
Mia
1b0bcc9000 Usersearch: Remove extraneous linebreaks when there are no online matches 2021-04-29 09:56:20 -05:00
Mia
721e7bc8a2 Remove /makegroupchat from /commands
Regs can't use it now, so it doesn't need to be here
2021-04-29 09:48:11 -05:00
Guangcong Luo
a1b52d4223 Fix bug in mega-evo speed tie code
(thanks @urkerab for review)
2021-04-29 02:33:49 -07:00
Guangcong Luo
d80319d114
Implement /botmsg (#8240) 2021-04-29 00:54:57 -07:00
Guangcong Luo
7d235af30f Fix speed ties after mega evolution 2021-04-29 00:23:55 -07:00
Kris Johnson
7b81706c9e Dynamax: Remove Doubles OU hardcode 2021-04-28 14:04:31 -06:00
Guangcong Luo
17ca6b271c Add a bit more documentation for plines 2021-04-28 01:53:03 -07:00
Guangcong Luo
09d2b9c514 Deprecate splitTarget with splitUser
(Note that the `splitUser` API isn't stable yet, and a future update
will determine if we want to call the final output `message` or
`rest`.)
2021-04-28 01:45:56 -07:00
Guangcong Luo
d9c564d15c Add hint for locked users challenging unlocked 2021-04-27 22:34:52 -07:00
Kris Johnson
31c0095088 Godly Gift: Ban Zacian 2021-04-27 20:58:33 -06:00
Kris Johnson
246b667c03 Add [Gen 1] Japanese OU 2021-04-27 20:48:48 -06:00
Kris Johnson
9730ae9b44 Stadium 2 OU: Ban Uber Pokemon 2021-04-27 20:34:34 -06:00
Kris Johnson
dc57eb71dc Gen 1: Move Raichu to NUBL 2021-04-27 20:33:48 -06:00
Mia
24ac3cfc40 Fix crash in /effectiveness 2021-04-27 21:32:10 -05:00
Guangcong Luo
9abbe47531
Support setting a default format/mod for commands in rooms (#8237) 2021-04-27 15:38:51 -07:00
urkerab
d4662c4c04
Handle extraneous parentheses again (#8238) 2021-04-27 15:06:51 -07:00
Annika
4bbb809c7b
Mastermind: Fix sorting in getTopPlayers 2021-04-27 09:09:37 -07:00
-Shiken-
054ba7ab82
Update Traditional Chinese translation (#8236) 2021-04-27 00:31:32 -07:00
Kris Johnson
6d75966050 Move Glastrier to NU 2021-04-26 22:13:19 -06:00
Leonard Craft III
d49a40feb2 Tests: Improve G-Max Volcalith Sea of Fire test 2021-04-26 22:52:59 -05:00
Guangcong Luo
ddd96995a1 Fix crash report display
Fixes #8234
2021-04-26 22:30:02 -04:00
urkerab
74ed6a3651
/math: Give the negative operator a precedence (#8235) 2021-04-26 18:53:32 -07:00
Guangcong Luo
04243bc731 Fix crash in Utils.sortBy 2021-04-26 14:57:35 -04:00
Marty-D
f7734becf8
OU: Keep Zamazenta-Crowned banned
https://www.smogon.com/forums/threads/ss-ou-suspect-process-round-10-voting.3683046/page-8#post-8835168
2021-04-26 09:22:25 -04:00
Annika
8ee9a68067 RoomBattle: Properly handle legacy config format
#8214 added code to handle Config.forcedpublicprefixes and convert it to Config.forcedprefixes, but it was buggy.
2021-04-25 22:03:08 -07:00
Leonard Craft III
615ee48e25
Fix Shell Side Arm information leak (#8233) 2021-04-25 20:21:50 -07:00
Quinton Lee
6079927a95
Commands: Support sending |selectorhtml| to bot HTML pages (#8228) 2021-04-25 20:20:57 -07:00
Marty-D
3d9698953a
Fix other regressions from residual refactor 2021-04-25 18:32:04 -04:00
Mia
ea6f6a81d9
Chat: Allow plugins to add custom /crq handlers (#8225) 2021-04-25 15:26:05 -07:00
Guangcong Luo
810aff74cd Namespace more server global types 2021-04-25 14:16:27 -07:00
Marty-D
ed782ca268 Add CAP 29 2021-04-25 16:49:23 -04:00
Guangcong Luo
0e0389bdc8 Rename pageContext.send to pageContext.setHTML
It's currently not very similar to commandContext.send so using the
same name could make things very confusing.

We have a new `pageContext.send` function that actually behaves as
you'd expect.
2021-04-25 13:25:42 -07:00
pyuk-bot
fa974427ef
Migrate terrains from onTerrain to onResidual (#8232) 2021-04-25 13:00:37 -07:00
Guangcong Luo
f513c619b0 Fix bugs from Residual refactor 2021-04-25 12:14:03 -07:00