Parent Directory
|
Revision Log
|
Patch
revision 251 by rakin, Mon Jul 29 17:29:13 2024 UTC | revision 253 by rakin, Mon Jul 29 17:29:13 2024 UTC | |
---|---|---|
# | Line 20 export default class EmbedBuildCommand e | Line 20 export default class EmbedBuildCommand e |
20 | } | } |
21 | ||
22 | try { | try { |
23 | const embedData = JSON.parse(options.isInteraction ? options.options.getString('json_schema')! : options.args.join(' ')); | const embedData = JSON.parse((options.isInteraction ? options.options.getString('json_schema')! : options.args.join(' ')).replace(/^embed\:/, '')); |
24 | ||
25 | if (!embedData) { | if (!embedData) { |
26 | throw new Error('Parse Error'); | throw new Error('Parse Error'); |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |