small fix exec command
This commit is contained in:
parent
ec68b87738
commit
09b56bb998
@ -31,6 +31,9 @@ export default {
|
|||||||
} else
|
} else
|
||||||
await interaction.followUp("Команда выполнена.\n" + JSON.stringify(status))
|
await interaction.followUp("Команда выполнена.\n" + JSON.stringify(status))
|
||||||
} else {
|
} else {
|
||||||
|
if (!!status && status.CommandMessages.filter(e => e.Type === "Notifications-Chat").length > 0)
|
||||||
|
await interaction.followUp(status.CommandMessages.filter(e => e.Type === "Notifications-Chat")[0].Message)
|
||||||
|
else
|
||||||
await interaction.followUp("Ошибка выполнения команды.\n" + JSON.stringify(status))
|
await interaction.followUp("Ошибка выполнения команды.\n" + JSON.stringify(status))
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user