mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-14 03:08:27 -04:00
Added many more braces for multiline if's, Improved .crypto command quite a bit and applied locale-specific format
This commit is contained in:
@@ -57,6 +57,7 @@ public class CommandMapService : IInputTransformer, INService
|
||||
return input;
|
||||
|
||||
if (guild is not null)
|
||||
{
|
||||
if (AliasMaps.TryGetValue(guild.Id, out var maps))
|
||||
{
|
||||
var keys = maps.Keys.OrderByDescending(x => x.Length);
|
||||
@@ -88,6 +89,7 @@ public class CommandMapService : IInputTransformer, INService
|
||||
return newInput;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return input;
|
||||
}
|
||||
|
Reference in New Issue
Block a user