diff --git a/SteamInviteHelper-ASF/SteamInviteHelper-ASF.csproj b/SteamInviteHelper-ASF/SteamInviteHelper-ASF.csproj index f3f2de5..a12ce8b 100644 --- a/SteamInviteHelper-ASF/SteamInviteHelper-ASF.csproj +++ b/SteamInviteHelper-ASF/SteamInviteHelper-ASF.csproj @@ -3,6 +3,7 @@ netcoreapp2.2 SteamInviteHelper_ASF + 1.0.1 @@ -18,7 +19,7 @@ - + diff --git a/SteamInviteHelper-ASF/SteamInviteHelper.cs b/SteamInviteHelper-ASF/SteamInviteHelper.cs index a1c8f07..f61b715 100644 --- a/SteamInviteHelper-ASF/SteamInviteHelper.cs +++ b/SteamInviteHelper-ASF/SteamInviteHelper.cs @@ -31,11 +31,11 @@ public void OnASFInit(IReadOnlyDictionary additionalConfigProper } } - public Task OnBotCommand(Bot bot, ulong steamID, string message, string[] args){ return null; } + public Task OnBotCommand(Bot bot, ulong steamID, string message, string[] args) { return null; } - public void OnBotDestroy(Bot bot){ } + public void OnBotDestroy(Bot bot) { } - public void OnBotDisconnected(Bot bot, EResult reason){ } + public void OnBotDisconnected(Bot bot, EResult reason) { } public Task OnBotFriendRequest(Bot bot, ulong steamID) { @@ -43,12 +43,9 @@ public Task OnBotFriendRequest(Bot bot, ulong steamID) return Task.FromResult(false); } - public void OnBotInit(Bot bot){ } + public void OnBotInit(Bot bot) { } - public async void OnBotInitModules(Bot bot, IReadOnlyDictionary additionalConfigProperties = null) - { - await bot.Actions.Pause(true).ConfigureAwait(false); - } + public void OnBotInitModules(Bot bot, IReadOnlyDictionary additionalConfigProperties = null) { } public void OnBotLoggedOn(Bot bot) { @@ -60,7 +57,7 @@ public Task OnBotMessage(Bot bot, ulong steamID, string message) return null; } - public void OnBotSteamCallbacksInit(Bot bot, CallbackManager callbackManager){ } + public void OnBotSteamCallbacksInit(Bot bot, CallbackManager callbackManager) { } public IReadOnlyCollection OnBotSteamHandlersInit(Bot bot) {