mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Part2 of the response system rework
This commit is contained in:
@@ -37,8 +37,8 @@ public sealed class DmContextAdapter : DmContext
|
||||
_localization = new(_services.GetRequiredService<ILocalization>());
|
||||
}
|
||||
|
||||
public override IEmbedBuilder Embed()
|
||||
=> _ebs.Value.Create();
|
||||
public override EmbedBuilder Embed()
|
||||
=> new EmbedBuilder();
|
||||
|
||||
public override string GetText(string key, object[]? args = null)
|
||||
{
|
||||
|
@@ -18,7 +18,7 @@ public sealed class GuildContextAdapter : GuildContext
|
||||
|
||||
public override IGuildUser User { get; }
|
||||
|
||||
public override IEmbedBuilder Embed()
|
||||
public override EmbedBuilder Embed()
|
||||
=> _ebs.Value.Create();
|
||||
|
||||
public GuildContextAdapter(ICommandContext ctx, IMedusaStrings strings, IServiceProvider services)
|
||||
|
Reference in New Issue
Block a user