Updated common files again

This commit is contained in:
Toastie (DCS Team) 2024-06-26 21:23:06 +12:00
parent ed7deeb99d
commit a4adabb3ea
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
3 changed files with 6 additions and 6 deletions

View file

@ -95,7 +95,7 @@ public sealed partial class ReplacementPatternStore
Register(_rngRegex, Register(_rngRegex,
match => match =>
{ {
var rng = new NadekoRandom(); var rng = new EllieRandom();
if (!int.TryParse(match.Groups["from"].ToString(), out var from)) if (!int.TryParse(match.Groups["from"].ToString(), out var from))
from = 0; from = 0;
if (!int.TryParse(match.Groups["to"].ToString(), out var to)) if (!int.TryParse(match.Groups["to"].ToString(), out var to))

View file

@ -33,15 +33,15 @@ public sealed class MessageSenderService : IMessageSenderService, IEService
=> new ResponseBuilder(_bs, _bcs, _client) => new ResponseBuilder(_bs, _bcs, _client)
.Channel(smc.Channel); .Channel(smc.Channel);
public NadekoEmbedBuilder CreateEmbed() public EllieEmbedBuilder CreateEmbed()
=> new NadekoEmbedBuilder(_bcs); => new EllieEmbedBuilder(_bcs);
} }
public class NadekoEmbedBuilder : EmbedBuilder public class EllieEmbedBuilder : EmbedBuilder
{ {
private readonly BotConfig _bc; private readonly BotConfig _bc;
public NadekoEmbedBuilder(BotConfigService bcs) public EllieEmbedBuilder(BotConfigService bcs)
{ {
_bc = bcs.Data; _bc = bcs.Data;
} }

View file

@ -3,7 +3,7 @@ using EllieBot.Common.Yml;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Reflection; using System.Reflection;
namespace NadekoBot.Services; namespace EllieBot.Services;
/// <summary> /// <summary>
/// Base service for all settings services /// Base service for all settings services