mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
another minor eval fix
This commit is contained in:
parent
7f614ffac1
commit
54fdab4904
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ module.exports = {
|
|||
} else {
|
||||
embed.description = codeblock("js", ['' + data.Result.split('\n').splice(0,10).join('\n').substr(0,1000)])
|
||||
embed.color = COLORS.success
|
||||
if(data.Result == '') codeblock('js', ["No Output"])
|
||||
if(data.Result.length == 0) embed.description = codeblock('js', ["No Output"])
|
||||
}
|
||||
|
||||
return editOrReply(context, createEmbed("default", context, embed))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue