From e100526d8030a36f9f0094c37f707851181be157 Mon Sep 17 00:00:00 2001 From: Toastie Date: Mon, 8 Jul 2024 01:30:14 +1200 Subject: [PATCH] Found more words that were wrong If I find more I am going to scream --- src/EllieBot/Bot.cs | 2 +- .../_common/Marmalade/Common/Adapters/FilterAdapter.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EllieBot/Bot.cs b/src/EllieBot/Bot.cs index b312624..9ab0f92 100644 --- a/src/EllieBot/Bot.cs +++ b/src/EllieBot/Bot.cs @@ -110,7 +110,7 @@ public sealed class Bot : IBot var svcs = new Container(); - // this is required in order for medusa unloading to work + // this is required in order for marmalade unloading to work // svcs.Components.Remove(); // svcs.Components.Add(); diff --git a/src/EllieBot/_common/Marmalade/Common/Adapters/FilterAdapter.cs b/src/EllieBot/_common/Marmalade/Common/Adapters/FilterAdapter.cs index a23ceec..69aec21 100644 --- a/src/EllieBot/_common/Marmalade/Common/Adapters/FilterAdapter.cs +++ b/src/EllieBot/_common/Marmalade/Common/Adapters/FilterAdapter.cs @@ -19,11 +19,11 @@ public class FilterAdapter : PreconditionAttribute CommandInfo command, IServiceProvider services) { - var medusaContext = ContextAdapterFactory.CreateNew(context, + var marmaladeContext = ContextAdapterFactory.CreateNew(context, _strings, services); - var result = await _filterAttribute.CheckAsync(medusaContext); + var result = await _filterAttribute.CheckAsync(marmaladeContext); if (!result) return PreconditionResult.FromError($"Precondition '{_filterAttribute.GetType().Name}' failed.");