From a5ce01f1e254081db77504920a1e099dfbd89e06 Mon Sep 17 00:00:00 2001 From: chr_ Date: Wed, 19 Oct 2022 15:31:15 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=96=B0=E5=A2=9E`EVENT`=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ASFEnhance/ASFEnhance.cs | 12 ++++++------ ASFEnhance/AssemblyInfo.cs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ASFEnhance/ASFEnhance.cs b/ASFEnhance/ASFEnhance.cs index 97cce038..2034cf17 100644 --- a/ASFEnhance/ASFEnhance.cs +++ b/ASFEnhance/ASFEnhance.cs @@ -170,9 +170,9 @@ private async Task ResponseCommand(Bot bot, EAccess access, string messa switch (args[0].ToUpperInvariant()) { //Event - //case "EVENT" when access >= EAccess.Operator: - //case "E" when access >= EAccess.Operator: - //return await Event.Command.ResponseEvent(bot).ConfigureAwait(false); + case "EVENT" when access >= EAccess.Operator: + case "E" when access >= EAccess.Operator: + return await Event.Command.ResponseEvent(bot).ConfigureAwait(false); //Shortcut case "P": @@ -304,9 +304,9 @@ private async Task ResponseCommand(Bot bot, EAccess access, string messa switch (args[0].ToUpperInvariant()) { //Event - //case "EVENT" when access >= EAccess.Operator: - //case "E" when access >= EAccess.Operator: - // return await Event.Command.ResponseEvent(Utilities.GetArgsAsText(args, 1, ",")).ConfigureAwait(false); + case "EVENT" when access >= EAccess.Operator: + case "E" when access >= EAccess.Operator: + return await Event.Command.ResponseEvent(Utilities.GetArgsAsText(args, 1, ",")).ConfigureAwait(false); //Shortcut case "AL": diff --git a/ASFEnhance/AssemblyInfo.cs b/ASFEnhance/AssemblyInfo.cs index f21d5b84..75e1e0b6 100644 --- a/ASFEnhance/AssemblyInfo.cs +++ b/ASFEnhance/AssemblyInfo.cs @@ -1,8 +1,8 @@ using System.Reflection; [assembly: System.CLSCompliant(false)] -[assembly: AssemblyVersion("1.6.15.0")] -[assembly: AssemblyFileVersion("1.6.15.0")] +[assembly: AssemblyVersion("1.6.16.0")] +[assembly: AssemblyFileVersion("1.6.16.0")] [assembly: AssemblyCopyright("Copyright © 2022 Chr_")] [assembly: AssemblyProduct("ASFEnhance")]