Fix user cache issue with welcome message pings

This commit is contained in:
Dragory 2021-09-04 19:07:14 +03:00
parent 0d1bfefce0
commit b8b4e93dc1
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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(