From bcb58a13a2cf383e470b5255d35ac3c4dcc75964 Mon Sep 17 00:00:00 2001 From: HumanBot000 Date: Fri, 13 Oct 2023 14:30:10 +0200 Subject: [PATCH] added standard inline=false if nothing is set untested because I don't know which html file to run --- build/index.html | 16 +++++++++++++++- src/snippets/discordpy.js | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/build/index.html b/build/index.html index 3983699..95d309d 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1,15 @@ -Embed Visualizer
\ No newline at end of file + + + + + + + + Embed Visualizer + + + +
+ + + \ No newline at end of file diff --git a/src/snippets/discordpy.js b/src/snippets/discordpy.js index fbc4cc1..01b21b4 100644 --- a/src/snippets/discordpy.js +++ b/src/snippets/discordpy.js @@ -80,7 +80,7 @@ export default { const args = { name: field.name ? JSON.stringify(field.name) : null, value: field.value ? JSON.stringify(field.value) : null, - inline: field.inline !== undefined ? toTitleCase(field.inline.toString()) : null + inline: field.inline !== undefined ? toTitleCase(field.inline.toString()) : toTitleCase("False") }; result.push(`embed.add_field(${pythonKwargs(args)})`); }