Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: dev模式下设置一个名为test的指令会导致日志中出现一个数组 #148

Closed
ifrvn opened this issue Apr 11, 2023 · 1 comment

Comments

@ifrvn
Copy link
Contributor

ifrvn commented Apr 11, 2023

只要ctx.command('test')就行

image

原因在

children: (command.name === 'test' ? console.log(command.children) : 0, this.traverse(command.children)),

这是故意的还是不小心(

@shigma
Copy link
Member

shigma commented Apr 11, 2023

我们删除了大部分的调试代码,但我们保留了一小部分。我认为只有保留了一部分,你才知道你用的是 Koishi(狗头)

@shigma shigma closed this as completed in 993cae9 Apr 11, 2023
CyanChanges pushed a commit to CyanForks/webui that referenced this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants