vars and target-typed new

This commit is contained in:
Kwoth
2021-12-20 00:15:39 +01:00
parent ee33313519
commit cd379fd308
75 changed files with 198 additions and 198 deletions

View File

@@ -199,7 +199,7 @@ public class CustomReactions : NadekoModule<CustomReactionsService>
return;
}
List<string> succ = new List<string>();
var succ = new List<string>();
foreach (var emojiStr in emojiStrs)
{

View File

@@ -403,7 +403,7 @@ public sealed class CustomReactionsService : IEarlyBehavior, IReadyExecutor
{
var pc = _perms.GetCacheFor(guild.Id);
if (!pc.Permissions.CheckPermissions(msg, cr.Trigger, "ActualCustomReactions",
out int index))
out var index))
{
if (pc.Verbose)
{