From a72b5a355e443f17edf1b348f63d314c743093b9 Mon Sep 17 00:00:00 2001 From: muchnameless <12682826+muchnameless@users.noreply.github.com> Date: Wed, 4 Aug 2021 00:10:17 +0200 Subject: [PATCH] fix(Action): getChannel interaction DM (#6280) --- src/client/actions/Action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/actions/Action.js b/src/client/actions/Action.js index 10de53702..0e87d7d00 100644 --- a/src/client/actions/Action.js +++ b/src/client/actions/Action.js @@ -39,7 +39,7 @@ class GenericAction { { id, guild_id: data.guild_id, - recipients: [data.author ?? { id: data.user_id }], + recipients: [data.author ?? data.user ?? { id: data.user_id }], }, this.client.channels, id,