mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[entertainment] use thread safe random, update /roll number range
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using BotFramework.Attributes;
|
||||
using BotFramework.Enums;
|
||||
using Kruzya.TelegramBot.Core;
|
||||
using Kruzya.TelegramBot.Core.Data;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
@@ -28,6 +29,6 @@ namespace West.Entertainment.Handler.Fun
|
||||
await HandleAnimation();
|
||||
}
|
||||
|
||||
public Python(CoreContext db, ILogger<Python> logger) : base(db, logger) { }
|
||||
public Python(CoreContext db, ILogger<Python> logger, ThreadSafeRandom rng) : base(db, logger, rng) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user