small fix exec command
This commit is contained in:
parent
ec68b87738
commit
09b56bb998
@ -31,7 +31,10 @@ export default {
|
||||
} else
|
||||
await interaction.followUp("Команда выполнена.\n" + JSON.stringify(status))
|
||||
} else {
|
||||
await interaction.followUp("Ошибка выполнения команды.\n" + JSON.stringify(status))
|
||||
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))
|
||||
}
|
||||
return
|
||||
} catch (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user