From f8972c9aa19158298d95b1a61d6f9089a47e9765 Mon Sep 17 00:00:00 2001 From: Jack Merrill <8814123+jackmerrill@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:44:38 -0500 Subject: [PATCH] Add out of order to laundry --- internal/commands/studentlife/laundry.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/commands/studentlife/laundry.go b/internal/commands/studentlife/laundry.go index 055b9f7..75a0469 100644 --- a/internal/commands/studentlife/laundry.go +++ b/internal/commands/studentlife/laundry.go @@ -113,6 +113,8 @@ func (c *Laundry) Exec(ctx shireikan.Context) error { embed.AddField(fmt.Sprintf("%s - %s", machine.Name, machine.Type), fmt.Sprintf(":red_circle: **Status:** %s", machine.Status), false) } else if machine.Status == "End of cycle" { embed.AddField(fmt.Sprintf("%s - %s", machine.Name, machine.Type), fmt.Sprintf(":blue_circle: **Status:** %s", machine.Status), false) + } else if machine.Status == "Out of order" { + embed.AddField(fmt.Sprintf("%s - %s", machine.Name, machine.Type), fmt.Sprintf(":white_circle: **Status:** %s", machine.Status), false) } else { embed.AddField(fmt.Sprintf("%s - %s", machine.Name, machine.Type), fmt.Sprintf(":yellow_circle: **Status:** %s\n:alarm_clock: **Time Remaining:** %s", machine.Status, config.ConvertTimestampToDiscordTimestampWithFormat(*machine.EstimatedTime, "R")), false) }