Found more words that were wrong
If I find more I am going to scream
This commit is contained in:
parent
94129fb3e2
commit
e100526d80
2 changed files with 3 additions and 3 deletions
|
@ -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<IPlanner, Planner>();
|
||||
// svcs.Components.Add<IPlanner, RemovablePlanner>();
|
||||
|
||||
|
|
|
@ -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.");
|
||||
|
|
Loading…
Reference in a new issue