3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Fix user cache issue with welcome message pings

This commit is contained in:
Dragory 2021-09-04 19:07:14 +03:00
parent ea1a9c8d19
commit dc1decb52e

View file

@ -68,7 +68,9 @@ export const SendWelcomeMessageEvt = welcomeMessageEvt({
if (!channel || !(channel instanceof TextChannel)) return;
try {
await createChunkedMessage(channel, formatted);
await createChunkedMessage(channel, formatted, {
parse: ["users"],
});
} catch {
pluginData.getPlugin(LogsPlugin).logBotAlert({
body: `Failed send a welcome message for ${verboseUserMention(member.user)} to ${verboseChannelMention(