Use Result.Success property instead of Result.FromSuccess() (#283)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
309d900067
commit
a80debf1b1
18 changed files with 59 additions and 54 deletions
|
@ -34,6 +34,6 @@ public class MessageCreateResponder : IResponder<IMessageCreate>
|
|||
"лан" => "https://i.ibb.co/VYH2QLc/lan.jpg",
|
||||
_ => default(Optional<string>)
|
||||
});
|
||||
return Task.FromResult(Result.FromSuccess());
|
||||
return Task.FromResult(Result.Success);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue