mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Migrate to database storage in UrlLimitations
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Kruzya.TelegramBot.Core;
|
||||
using Kruzya.TelegramBot.Core.Data;
|
||||
using Kruzya.TelegramBot.Core.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@@ -10,10 +11,5 @@ namespace Kruzya.TelegramBot.UrlLimitations
|
||||
public UrlLimitations(Core.Core core) : base(core)
|
||||
{
|
||||
}
|
||||
|
||||
public override void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddMemoryCache<ChatMember, UInt16>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user