diff --git a/index.js b/index.js index f169f73..68f8172 100644 --- a/index.js +++ b/index.js @@ -120,7 +120,7 @@ client.on('interactionCreate', async interaction => { }, { name: "MOTD", - value: `\`${data.description?.split("\n")[0]}\`\n\`${data.description?.split("\n")[1]}\`` + value: `\`${data.description?.split("\n")[0] || ""}\`\n\`${data.description?.split("\n")[1] || ""}\`` }, data.players.sample?.length > 0 ? { name: "Players",