3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Merge branch 'master' of github.com:Dragory/ZeppelinBot

This commit is contained in:
Dragory 2021-05-19 11:31:46 +03:00
commit e684d33b06
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -1011,7 +1011,10 @@ export async function notifyUser(
}
} else if (method.type === "channel") {
try {
await method.channel.createMessage(`<@!${user.id}> ${body}`);
await method.channel.createMessage({
content: `<@!${user.id}> ${body}`,
allowedMentions: { users: [user.id] },
});
return {
method,
success: true,