diff options
Diffstat (limited to '')
-rw-r--r-- | Utilities/LibMatrix.DevTestBot/Bot/Interfaces/ICommand.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Utilities/LibMatrix.DevTestBot/Bot/Interfaces/ICommand.cs b/Utilities/LibMatrix.DevTestBot/Bot/Interfaces/ICommand.cs index 2ba5a27..a6dc8da 100644 --- a/Utilities/LibMatrix.DevTestBot/Bot/Interfaces/ICommand.cs +++ b/Utilities/LibMatrix.DevTestBot/Bot/Interfaces/ICommand.cs @@ -4,9 +4,7 @@ public interface ICommand { public string Name { get; } public string Description { get; } - public Task<bool> CanInvoke(CommandContext ctx) { - return Task.FromResult(true); - } + public Task<bool> CanInvoke(CommandContext ctx) => Task.FromResult(true); public Task Invoke(CommandContext ctx); -} +} \ No newline at end of file |