mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-11-04 16:44:28 -05:00
NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#nullable disable
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Modules.CustomReactions;
|
||||
@@ -25,4 +26,4 @@ public class ExportedExpr
|
||||
? null
|
||||
: cr.GetReactions(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NadekoBot.Modules.CustomReactions.Services;
|
||||
#nullable disable
|
||||
using NadekoBot.Modules.CustomReactions.Services;
|
||||
|
||||
namespace NadekoBot.Modules.CustomReactions;
|
||||
|
||||
@@ -333,4 +334,4 @@ public class CustomReactions : NadekoModule<CustomReactionsService>
|
||||
|
||||
await ctx.OkAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NadekoBot.Services.Database.Models;
|
||||
#nullable disable
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace NadekoBot.Modules.CustomReactions.Extensions;
|
||||
@@ -82,4 +83,4 @@ public enum WordPosition
|
||||
Start,
|
||||
Middle,
|
||||
End,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NadekoBot.Common.ModuleBehaviors;
|
||||
#nullable disable
|
||||
using NadekoBot.Common.ModuleBehaviors;
|
||||
using NadekoBot.Services.Database.Models;
|
||||
using NadekoBot.Modules.CustomReactions.Extensions;
|
||||
using NadekoBot.Modules.Permissions.Common;
|
||||
@@ -726,4 +727,4 @@ public sealed class CustomReactionsService : IEarlyBehavior, IReadyExecutor
|
||||
await TriggerReloadCustomReactions();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user