Guangcong Luo
01956d6e64
Refactor format-specific /data
2018-07-17 23:34:00 +09:00
Kris Johnson
5453263e89
Add compatibility for formats in /data ( #4759 )
2018-07-17 19:00:30 +09:00
Bär Halberkamp
fb9a1a0a62
Improve filter evasion detection in !pick
2018-07-10 17:10:37 -05:00
Bär Halberkamp
41da12e6bd
Stop filter evasion using !pick
...
If anyone knows a better way to do this feel free to update
2018-07-05 14:38:01 -04:00
iwannad
94d2d9b392
Add Nature to datahelp and detailshelp ( #4730 )
2018-06-25 01:23:15 -07:00
Jeremy Piemonte
219d38746c
Rules: Increase link limit to 150 characters ( #4694 )
...
Using a link shorteners here REALLY should be avoided because PS is for kids and lots of kids networks block link shorteners, which would then make them unable to actually see the rules, which defeats the purpose.
2018-05-26 21:55:07 -05:00
urkerab
71ebdcbb1f
Show details for both Metronomes ( #4670 )
2018-05-14 20:53:09 -05:00
Marty-D
a55ae57d41
Update Bug Reports link
2018-05-13 23:42:11 +00:00
Bär Halberkamp
2a02f1f9a5
Fix order of permission checks in /uptime
2018-05-10 22:54:03 +02:00
Guangcong Luo
4fd160f33d
Require voice+ for /uptime
...
Users are being annoyingly superstitious about what it means.
2018-05-10 06:15:22 -05:00
MacChaeger
c690c555b3
Let /statcalc work backwards from a real stat ( #4649 )
2018-05-07 07:23:42 -05:00
Quinton Lee
f88b05f8eb
Add /adduhtml ( #4647 )
...
The main purpose of /adduhtml is to allow bots that run scripted chat games or events to use HTML boxes without spamming them
2018-05-06 03:12:04 -05:00
Guangcong Luo
322eb9fbf0
TypeScript: Start work on typing chat commands
...
Nothing is being checked yet because there's a whole bunch of
complication in there, but this is a start.
2018-05-02 17:45:15 -05:00
whales
9d014c7786
Exempt non-static commands from the broadcast cooldown ( #4594 )
2018-04-29 14:27:23 -05:00
Kris Johnson
61076ec11f
Change all Smogon links to https ( #4587 )
2018-04-13 12:24:42 -04:00
Kris Johnson
c1fa627a7f
info.js: Update /veekun for USM ( #4562 )
2018-04-08 21:04:53 -05:00
Quinton Lee
c799393710
Typescript data/ and config/formats ( #4513 )
...
Also removes Battle Factory methods accidentally re-added in d0a4a689a7
2018-03-26 09:50:51 -05:00
KrisXV
8758cb6fbe
Show help for /smogdex if no target is provided ( #4484 )
2018-03-11 23:11:30 -04:00
Autistik2000
42abe5bb6b
Fix broken link to beginner guide ( #4476 )
2018-03-10 14:23:50 +09:00
Marty-D
e726c2fe72
Battleban: Show expiry and upload replays
2018-03-07 23:33:46 -05:00
asgdf
74d8fdad8e
Fix /weak with Pokemon names containing spaces ( #4443 )
2018-03-02 14:18:26 +09:00
Guangcong Luo
06bc0651b9
Fix room detection for doubles tier /data
2018-01-28 15:36:58 -05:00
Guangcong Luo
2874492f94
Don't overwrite tier
2018-01-26 14:24:54 -06:00
KrisXV
aefa8c986a
Add doublesTier ( #4339 )
2018-01-26 14:23:38 -06:00
Guangcong Luo
4ef1c58606
Refactor various files for modern string standards
2018-01-24 15:47:18 -06:00
Marty-D
9a029f43f3
Fix /ipsearch
2018-01-23 20:19:28 +00:00
Guangcong Luo
e3a955b678
Fix mistaken const
2018-01-20 15:43:38 -06:00
Guangcong Luo
6677950e9b
Deprecate chatContext.splitTargetText
...
chatContext.splitOne already exists and is less of a hack.
2018-01-20 14:34:52 -06:00
Guangcong Luo
ab1f995daa
Rewrite Process Manager
...
Process Manager is now lib/process-manager.js
It's been entirely rewritten to reflect what I think a process manager
API should look like.
In particular, there are now two Process Managers, QueryProcessManager
and StreamProcessManager.
Pass QueryProcessManager a pure-ish query function (sync or async) that
takes a JSON value and returns a JSON value, and PM.query() will
execute that function in a subprocess, and return a Promise for its
return value.
StreamProcessManager is the same idea: Pass it a function to create an
ObjectReadWriteStream, and PM.createStream() will create a stream in a
subprocess and return a stream connected to it.
2018-01-18 03:34:16 -06:00
urkerab
297af3b111
Allow formats to override checkLearnset ( #4341 )
2018-01-16 04:16:48 -06:00
Charlie Kobayashi
331af4e794
Refactor Modlog Formatting ( #3972 )
2018-01-08 15:18:24 -06:00
urkerab
ff3ecccab0
Restricted makes more sense than banned in some cases ( #4311 )
2018-01-06 11:37:47 +08:00
Kris Johnson
a6ce5c9dc1
Refactor chat-plugins and formats to for...of ( #4288 )
2017-12-28 05:22:28 -06:00
Jeremy Piemonte
e0c08eafba
Standardize help commands ( #4285 )
2017-12-27 19:35:32 -06:00
CheeseMuffin
510c6940b7
Fix generation params in /weak ( #4269 )
2017-12-20 16:16:08 -06:00
Quinton Lee
12d10c80d5
Fix !checkchallenges
2017-12-16 18:34:28 -06:00
Guangcong Luo
f403a5d3ea
Refactor some forEach to for...of
2017-12-12 14:50:08 -06:00
Kris Johnson
e221fc6336
Fix specifying formats in /smogdex ( #4224 )
2017-12-08 16:34:14 -06:00
Lionyx
f82f078cf8
Update /roomhelp ( #4227 )
...
Some verbs were third-person and other were not, some lines had a capital letter at their beginning and some other didn't... This unifies it so that they all look the same~
2017-12-08 16:01:16 -06:00
Jeremy Piemonte
3bb4874276
Add privacy policy command ( #4203 )
2017-12-03 09:01:35 -06:00
Guangcong Luo
9bdf674d5f
Refactor more tables to arrays
...
See #4079
Now we're just missing oldgens.
2017-11-30 19:40:16 -06:00
Bär Halberkamp
7bf5a179dd
Display ip-based punishments on /ip ( #4178 )
...
Also adds Punishments.punishmentTypes, mirroring Punishments.roomPunishmentTypes
2017-11-28 08:49:09 -06:00
Charlie Kobayashi
a3b049077d
Checkpunishment: Show punishments for offline users ( #4168 )
2017-11-20 18:31:36 -06:00
Kris Johnson
86fbb45acc
Standardize formatting of OM restrictions ( #4129 )
...
* Standardize formatting of OM restrictions
Since I've already started adding and changing all of the OM banlists to
allow them to be viewable though `/om`, I figured that I'd take the
final step and standardize all OM banlists and restrictions. It's
understandable if you want things like 1v1's banlist and ruleset to
remain the same as before; I'll happily revert that part.
* Remove unnecessary space
* Unban Blazikenite from 1v1
* Revert 1v1 banlist to original state
* Re add new lines at end of file
2017-11-09 23:36:24 +08:00
Kris Johnson
fc977a33b4
Modify AAA's validation code ( #4125 )
2017-11-04 23:50:27 -07:00
Spandan Punwatkar
bcdff7f5f6
Fix build; fix /coverage ( #4117 )
2017-11-02 10:19:55 -04:00
Spandan Punwatkar
a9fd7da4a8
Support mod parameter for /weak and /coverage ( #4112 )
2017-11-02 00:42:27 -05:00
Kris Johnson
e6bad3bc7a
Make the formatting of all smogon links consistent ( #4095 )
2017-11-02 00:21:21 -05:00
HoeenHero
79e0db93e3
Allow ipsearch to search specific rooms ( #4075 )
2017-10-22 16:01:33 -05:00
Kris Johnson
2b67af932b
Don't send people to HTTPS links on smogon ( #4050 )
...
Smogon doesn't support HTTPS.
2017-10-10 23:32:06 -05:00