3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00
This commit is contained in:
Dragory 2020-08-20 10:15:17 +03:00
parent ae810e99f8
commit d53d518903
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 2 additions and 0 deletions

View file

@ -878,6 +878,7 @@ export async function notifyUser(
for (const method of methods) {
if (method.type === "dm") {
try {
console.log(`Notifying user ${user.id} via DM`);
const dmChannel = await user.getDMChannel();
await dmChannel.createMessage(body);
return {