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.");