From 857bec2b26adda592a6ea85d4f3375cf416c4920 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Thu, 9 Mar 2023 18:43:46 +0100 Subject: [PATCH] fix [ref 331vj3z8y] --- commands/message/info/appinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/info/appinfo.js b/commands/message/info/appinfo.js index 7b82695..361618b 100644 --- a/commands/message/info/appinfo.js +++ b/commands/message/info/appinfo.js @@ -110,7 +110,7 @@ module.exports = { content.push(`Max Participants: **${application.max_participants}**`) if(application.embedded_activity_config !== null){ - if(application.embedded_activity_config.supported_platforms) content.push(`Supported Platforms: ${application.embedded_activity_config.supported_platforms.map(t => highlight(t)).join(', ')}`) + if(application.embedded_activity_config?.supported_platforms) content.push(`Supported Platforms: ${application.embedded_activity_config.supported_platforms.map(t => highlight(t)).join(', ')}`) } embed.fields.push({