Fix user cache issue with welcome message pings
This commit is contained in:
parent
0d1bfefce0
commit
b8b4e93dc1
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ export const SendWelcomeMessageEvt = welcomeMessageEvt({
|
||||||
if (!channel || !(channel instanceof TextChannel)) return;
|
if (!channel || !(channel instanceof TextChannel)) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await createChunkedMessage(channel, formatted);
|
await createChunkedMessage(channel, formatted, {
|
||||||
|
parse: ["users"],
|
||||||
|
});
|
||||||
} catch {
|
} catch {
|
||||||
pluginData.getPlugin(LogsPlugin).logBotAlert({
|
pluginData.getPlugin(LogsPlugin).logBotAlert({
|
||||||
body: `Failed send a welcome message for ${verboseUserMention(member.user)} to ${verboseChannelMention(
|
body: `Failed send a welcome message for ${verboseUserMention(member.user)} to ${verboseChannelMention(
|
||||||
|
|
Loading…
Add table
Reference in a new issue