wdvxdr1123 / ZeroBot

一个基于onebot协议的机器人Go开发框架
GNU General Public License v3.0
326 stars 71 forks source link

zero.OnCommand will handle other command. #76

Closed Dreamail closed 1 year ago

Dreamail commented 1 year ago

e.g. zero.OnCommand("bind") will handle zero.OnCommand("bindx") at the same time.

fumiama commented 1 year ago

Well, that's a feature 😂. Seealso #38 #39 #40

Dreamail commented 1 year ago

Are you serious? It should not act like this.

fumiama commented 1 year ago

I'm serious. There're many ways that are able to avoid the duplicated command prefix. Actually it is designed for Chinese commands like /启动abc. You don't need to add a space between them.

Dreamail commented 1 year ago

Oh, for Chinese, it makes sense.