From 661d63836f2adf82b971885410347390f177397c Mon Sep 17 00:00:00 2001
From: JustNrik <35231903+JustNrik@users.noreply.github.com>
Date: Sun, 30 Sep 2018 16:40:32 -0400
Subject: [PATCH] small code clean up
---
src/Discord.Net.Commands/ModuleBase.cs | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/src/Discord.Net.Commands/ModuleBase.cs b/src/Discord.Net.Commands/ModuleBase.cs
index 3e6fbbd9b..b1b1a0f45 100644
--- a/src/Discord.Net.Commands/ModuleBase.cs
+++ b/src/Discord.Net.Commands/ModuleBase.cs
@@ -18,21 +18,11 @@ namespace Discord.Commands
/// Specifies if Discord should read this message aloud using TTS
/// An embed to be displayed alongside the message
protected virtual async Task ReplyAsync(string message = null, bool isTTS = false, Embed embed = null, RequestOptions options = null)
- {
- return await Context.Channel.SendMessageAsync(message, isTTS, embed, options).ConfigureAwait(false);
- }
-
- protected virtual void BeforeExecute(CommandInfo command)
- {
- }
+ => await Context.Channel.SendMessageAsync(message, isTTS, embed, options).ConfigureAwait(false);
- protected virtual void AfterExecute(CommandInfo command)
- {
- }
-
- protected virtual void OnModuleBuilding(CommandService commandService, ModuleBuilder builder)
- {
- }
+ protected virtual void BeforeExecute(CommandInfo command) { }
+ protected virtual void AfterExecute(CommandInfo command) { }
+ protected virtual void OnModuleBuilding(CommandService commandService, ModuleBuilder builder) { }
//IModuleBase
void IModuleBase.SetContext(ICommandContext context)