This commit is contained in:
Madpeter 2025-07-07 22:33:22 +01:00
parent e28dc5787b
commit 78ea90a1c0

View file

@ -306,7 +306,7 @@ namespace SecondBotEvents.Services
if (theMethod != null) if (theMethod != null)
{ {
List<string> argsList = [.. C.args]; List<string> argsList = [.. C.args];
string reply = "Inconnect number of args expected: " + theMethod.GetParameters().Length.ToString() + " but got: " + argsList.Count.ToString(); string reply = "incorrect number of args expected: " + theMethod.GetParameters().Length.ToString() + " but got: " + argsList.Count.ToString();
bool status = false; bool status = false;
if (argsList.Count == theMethod.GetParameters().Length) if (argsList.Count == theMethod.GetParameters().Length)
{ {