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,
|
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))
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue