This commit is contained in:
Łukasz Domeradzki
2024-08-17 22:19:17 +02:00
parent 90cfdd140b
commit 06185d5f7d
3 changed files with 17 additions and 13 deletions

View File

@@ -196,7 +196,7 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
break;
}
return Task.FromResult((string?) null);
return Task.FromResult<string?>(null);
}
public async Task OnBotDestroy(Bot bot) {
@@ -255,7 +255,7 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
return Task.CompletedTask;
}
public Task<IReadOnlyCollection<ClientMsgHandler>?> OnBotSteamHandlersInit(Bot bot) => Task.FromResult((IReadOnlyCollection<ClientMsgHandler>?) null);
public Task<IReadOnlyCollection<ClientMsgHandler>?> OnBotSteamHandlersInit(Bot bot) => Task.FromResult<IReadOnlyCollection<ClientMsgHandler>?>(null);
public override Task OnLoaded() {
Utilities.WarnAboutIncompleteTranslation(Strings.ResourceManager);