mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
initial chat options implementation
This commit is contained in:
@@ -3,7 +3,9 @@ global using GuessCache = Kruzya.TelegramBot.Core.Cache.MemoryCache<Telegram.Bot
|
||||
|
||||
|
||||
using Kruzya.TelegramBot.Core;
|
||||
using Kruzya.TelegramBot.Core.Options;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using West.Entertainment.Options;
|
||||
|
||||
|
||||
namespace West.Entertainment
|
||||
@@ -15,6 +17,7 @@ namespace West.Entertainment
|
||||
public override void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<IGuessCache, GuessCache>();
|
||||
services.AddScoped<NsfwOption>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user