3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +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 05778e3681

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,