DM debug
This commit is contained in:
parent
ae810e99f8
commit
d53d518903
2 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue