Updated common files again
This commit is contained in:
parent
ed7deeb99d
commit
a4adabb3ea
3 changed files with 6 additions and 6 deletions
|
@ -95,7 +95,7 @@ public sealed partial class ReplacementPatternStore
|
|||
Register(_rngRegex,
|
||||
match =>
|
||||
{
|
||||
var rng = new NadekoRandom();
|
||||
var rng = new EllieRandom();
|
||||
if (!int.TryParse(match.Groups["from"].ToString(), out var from))
|
||||
from = 0;
|
||||
if (!int.TryParse(match.Groups["to"].ToString(), out var to))
|
||||
|
|
|
@ -33,15 +33,15 @@ public sealed class MessageSenderService : IMessageSenderService, IEService
|
|||
=> new ResponseBuilder(_bs, _bcs, _client)
|
||||
.Channel(smc.Channel);
|
||||
|
||||
public NadekoEmbedBuilder CreateEmbed()
|
||||
=> new NadekoEmbedBuilder(_bcs);
|
||||
public EllieEmbedBuilder CreateEmbed()
|
||||
=> new EllieEmbedBuilder(_bcs);
|
||||
}
|
||||
|
||||
public class NadekoEmbedBuilder : EmbedBuilder
|
||||
public class EllieEmbedBuilder : EmbedBuilder
|
||||
{
|
||||
private readonly BotConfig _bc;
|
||||
|
||||
public NadekoEmbedBuilder(BotConfigService bcs)
|
||||
public EllieEmbedBuilder(BotConfigService bcs)
|
||||
{
|
||||
_bc = bcs.Data;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ using EllieBot.Common.Yml;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
|
||||
namespace NadekoBot.Services;
|
||||
namespace EllieBot.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Base service for all settings services
|
||||
|
|
Loading…
Reference in a new issue