NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common

This commit is contained in:
Kwoth
2021-12-28 10:44:00 +01:00
parent 0634470a8a
commit 59f5056035
543 changed files with 1895 additions and 1448 deletions

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Common.ModuleBehaviors;
namespace NadekoBot.Common.ModuleBehaviors;
/// <summary>
/// Implemented by modules which block execution before anything is executed
@@ -7,4 +7,4 @@ public interface IEarlyBehavior
{
int Priority { get; }
Task<bool> RunBehavior(IGuild guild, IUserMessage msg);
}
}

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Common.ModuleBehaviors;
namespace NadekoBot.Common.ModuleBehaviors;
public interface IInputTransformer
{
@@ -7,4 +7,4 @@ public interface IInputTransformer
IMessageChannel channel,
IUser user,
string input);
}
}

View File

@@ -1,8 +1,8 @@
namespace NadekoBot.Common.ModuleBehaviors;
namespace NadekoBot.Common.ModuleBehaviors;
public interface ILateBlocker
{
public int Priority { get; }
Task<bool> TryBlockLate(ICommandContext context, string moduleName, CommandInfo command);
}
}

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Common.ModuleBehaviors;
namespace NadekoBot.Common.ModuleBehaviors;
/// <summary>
/// Last thing to be executed, won't stop further executions
@@ -6,4 +6,4 @@
public interface ILateExecutor
{
Task LateExecute(IGuild guild, IUserMessage msg);
}
}

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Common.ModuleBehaviors;
namespace NadekoBot.Common.ModuleBehaviors;
/// <summary>
/// All services which need to execute something after
@@ -10,4 +10,4 @@ public interface IReadyExecutor
/// Executed when bot is ready
/// </summary>
public Task OnReadyAsync();
}
}