Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
CarolinePascal commited on
chore(polish)
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ class DayButton(discord.ui.Button):
|
|
| 56 |
days_until = (arrival_date - today).days
|
| 57 |
|
| 58 |
if days_until < -14:
|
| 59 |
-
status = "Your Reachy Mini must already have been delivered! Check with your carrier or
|
| 60 |
elif days_until < 0:
|
| 61 |
status = "The delivery seems to have been delayed a bit. It should arrive any day now — hang tight!"
|
| 62 |
elif days_until <= 7:
|
|
@@ -132,7 +132,7 @@ class DatePickerView(discord.ui.View):
|
|
| 132 |
)
|
| 133 |
for y in valid_years()
|
| 134 |
]
|
| 135 |
-
year_select = discord.ui.Select(placeholder="Year", options=year_options, row=
|
| 136 |
year_select.callback = self._on_year
|
| 137 |
self.add_item(year_select)
|
| 138 |
|
|
@@ -143,7 +143,7 @@ class DatePickerView(discord.ui.View):
|
|
| 143 |
)
|
| 144 |
for m in months
|
| 145 |
]
|
| 146 |
-
month_select = discord.ui.Select(placeholder="Month", options=month_options, row=
|
| 147 |
month_select.callback = self._on_month
|
| 148 |
self.add_item(month_select)
|
| 149 |
|
|
|
|
| 56 |
days_until = (arrival_date - today).days
|
| 57 |
|
| 58 |
if days_until < -14:
|
| 59 |
+
status = "Your Reachy Mini must already have been delivered! Check with your carrier or contact sales@pollen-robotics.com if you haven't received it."
|
| 60 |
elif days_until < 0:
|
| 61 |
status = "The delivery seems to have been delayed a bit. It should arrive any day now — hang tight!"
|
| 62 |
elif days_until <= 7:
|
|
|
|
| 132 |
)
|
| 133 |
for y in valid_years()
|
| 134 |
]
|
| 135 |
+
year_select = discord.ui.Select(placeholder="Year", options=year_options, row=0)
|
| 136 |
year_select.callback = self._on_year
|
| 137 |
self.add_item(year_select)
|
| 138 |
|
|
|
|
| 143 |
)
|
| 144 |
for m in months
|
| 145 |
]
|
| 146 |
+
month_select = discord.ui.Select(placeholder="Month", options=month_options, row=1)
|
| 147 |
month_select.callback = self._on_month
|
| 148 |
self.add_item(month_select)
|
| 149 |
|