Possible MOTD fix?
This commit is contained in:
parent
56e1288f2e
commit
bb21476057
2
index.js
2
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",
|
||||
|
|
Loading…
Reference in a new issue