pokemon-showdown/server
fart b9ced489cd
Show staff intro + pending requests on autojoin (#7228)
At the moment, the staff intro and pending requests only appear on manual joins, not on autojoin. This is because `user.can('mute', null, this)` results false when it is run since the user is not yet logged in. This change creates a new method for generating the staff intro that is run after the user is fully logged in. It also modifies the original `getIntroMessage` so that the staff intro and pending requests still appear on manual joins.

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-08-20 21:17:02 -07:00
..
chat-commands Add support for inverse in /weak (#7198) 2020-08-19 13:04:28 -07:00
chat-plugins Allow users to set their own language and translate helptickets (#7220) 2020-08-19 00:21:51 -07:00
static
tournaments Switch to using import type 2020-08-09 08:07:00 -05:00
chat-formatter.ts Minor code quality improvements based on LGTM (#7092) 2020-07-30 14:24:37 -07:00
chat.ts Allow users to set their own language and translate helptickets (#7220) 2020-08-19 00:21:51 -07:00
config-loader.ts Switch to using import type 2020-08-09 08:07:00 -05:00
global-types.ts Improve private command support 2020-08-16 13:21:07 -07:00
global-variables.d.ts Remove sim/ and data/'s globals (#7091) 2020-08-07 06:44:15 -07:00
index.ts Remove sim/ and data/'s globals (#7091) 2020-08-07 06:44:15 -07:00
ip-tools.ts IPTools: Support wildcards in string ranges (#7223) 2020-08-18 13:37:58 -07:00
ladders-local.ts Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00
ladders-remote.ts Add a library for utility functions (#6817) 2020-06-09 22:06:43 -07:00
ladders.ts Switch to using import type 2020-08-09 08:07:00 -05:00
loginserver.ts Fix memory leak in ladders-remote 2020-06-09 18:31:29 -07:00
modlog.ts Modlog: Fix exact searches and improve hotpatching (#7211) 2020-08-15 14:10:46 -07:00
monitor.ts Refactor ip and modchat permissions (#7076) 2020-07-29 00:38:52 -07:00
punishments.ts Add /nomarkshared (#7201) 2020-08-12 16:21:00 -07:00
room-battle.ts Only allow the player who set modjoin to change it (#7216) 2020-08-18 12:54:22 -07:00
room-game.ts Change onChatMessage API to use void return 2020-07-29 15:01:04 -07:00
roomlogs.ts Refactor Modlog into one file (#7127) 2020-08-06 00:39:37 -07:00
rooms.ts Show staff intro + pending requests on autojoin (#7228) 2020-08-20 21:17:02 -07:00
sockets.ts Refactor ObjectReadStreams to use for-await 2020-08-15 15:11:53 -07:00
team-validator-async.ts Remove sim/ and data/'s globals (#7091) 2020-08-07 06:44:15 -07:00
user-groups.ts Fix Auth#isAuthLevel (#7174) 2020-08-07 11:05:18 -07:00
users.ts Allow users to set their own language and translate helptickets (#7220) 2020-08-19 00:21:51 -07:00
verifier.ts