1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09:00 +03:00

Change reminders sorting in /listremind (#156)

Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
Macintxsh 2023-10-06 16:12:36 +03:00 committed by GitHub
parent 4748c5de2c
commit a70c228bc4
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ public class RemindCommandGroup : CommandGroup
} }
var builder = new StringBuilder(); var builder = new StringBuilder();
for (var i = data.Reminders.Count - 1; i >= 0; i--) for (var i = 0; i < data.Reminders.Count; i++)
{ {
var reminder = data.Reminders[i]; var reminder = data.Reminders[i];
builder.Append("- ").AppendLine(string.Format(Messages.ReminderIndex, Markdown.InlineCode(i.ToString()))) builder.Append("- ").AppendLine(string.Format(Messages.ReminderIndex, Markdown.InlineCode(i.ToString())))