Currency emoji issue fixed?

This commit is contained in:
Kwoth 2017-02-10 13:03:15 +01:00
parent 84bec3e19c
commit 494cf9447e

View File

@ -82,6 +82,7 @@ namespace NadekoBot.Services.Impl
.ToImmutableArray(); .ToImmutableArray();
SlotEmojis = Directory.GetFiles(slotEmojisPath) SlotEmojis = Directory.GetFiles(slotEmojisPath)
.OrderBy(f => int.Parse(Path.GetFileNameWithoutExtension(f)))
.Select(x => File.ReadAllBytes(x).ToImmutableArray()) .Select(x => File.ReadAllBytes(x).ToImmutableArray())
.ToImmutableArray(); .ToImmutableArray();