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:
commit
e684d33b06
1 changed files with 4 additions and 1 deletions
|
@ -1011,7 +1011,10 @@ export async function notifyUser(
|
||||||
}
|
}
|
||||||
} else if (method.type === "channel") {
|
} else if (method.type === "channel") {
|
||||||
try {
|
try {
|
||||||
await method.channel.createMessage(`<@!${user.id}> ${body}`);
|
await method.channel.createMessage({
|
||||||
|
content: `<@!${user.id}> ${body}`,
|
||||||
|
allowedMentions: { users: [user.id] },
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
method,
|
method,
|
||||||
success: true,
|
success: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue