We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public bool Contains(string cmd) => Contains(cmd, null); internal bool Contains(string command, string[] args) { MethodInfo method = null; CommandModule module = null; for (int i = 0; i < _commands.Count; i++) { bool igncase = Configuration.IgnoreCase; IEnumerable<MethodInfo> infos = _commands[i] .GetType().GetMethods(FLAGS) .Where(l => l.GetCustomAttributes().FirstOrDefault(l => l is CommandAttribute) != null); MethodInfo info = infos .FirstOrDefault(l => { CommandAttribute cmdat = l.GetCustomAttribute<CommandAttribute>(); if (!Configuration.GetPrivateMethod && cmdat.IsPrivate) return false; return new string[] { cmdat.Name ?? l.Name }.Concat(cmdat.Alias ?? Array.Empty<string>()) .Select(l => igncase ? l.ToLower() : l) .Contains(igncase ? command.ToLower() : command); }); if (info == null) continue; method = info; module = _commands[i]; break; } return method != null && module != null; }
정상 작동 확인했습니다
The text was updated successfully, but these errors were encountered:
This feature: "providing registered command array" is already in queue. Check README.md.
해당 기능: "등록된 커맨드 배열 제공"은 진행중에 있습니다. README.md를 참고하주세요
Sorry, something went wrong.
Update README.md
d252fbf
#1 Add details
1.2.0
74d3342
new event new property new method
Now add feature. See 1.2.0
No branches or pull requests
정상 작동 확인했습니다
The text was updated successfully, but these errors were encountered: