Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L37)][[2](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L80)][[3](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L104)][[4](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L234)][[5](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L235)][[6](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L239)][[7](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L243)][[8](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L308)][[9](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L309)][[10](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L315)]:You should change all instances of `var` to either `const` or `let`. `var` has function-level scope, so it can easily lead to bugs if you're not careful. Here's a pretty good guide with examples of why not to use `var`: [why `var` is obsolete](https://javascript.plainenglish.io/4-reasons-why-var-is-considered-obsolete-in-modern-javascript-a30296b5f08f)

[[1](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L62-L64)][[2](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L198-L458)][[3](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L460-L474)][[4](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L476-L500)]:Remember to rename the sample classes to something that makes sense to your plugin. If there are any errors, Obsidian will spit out this class name, so this will be important for users to debug if they need to.

[[1](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L407)]:Adding `command` to the command ID is not necessary, please remove it.

[[1](https://github.com/ravenSanstete/Obsidian-MantouAI/blob/9af76bc73ed9cbd2d1deebb8a85b18714e54acdc/main.ts#L444)]:Please remove anything from the sample plugin that you don't need.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes, the bot will reevaluate your PR within 6 hours.
If you think some of these results are incorrect, please include `/skip` in your comment and the reason why you think the results are incorrect.
