Skip to content

Commit

Permalink
Change error text
Browse files Browse the repository at this point in the history
We ask for "codename" specifically now, let the bot resemble that
Also fix the duplicate message being squeezed right behind the last
  • Loading branch information
BadDaemon authored and luk1337 committed Dec 31, 2024
1 parent d3f81da commit ae0453c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
label_data = {
"device": {
"data": True,
"error": "- A device is required. (include /device devicecodename)",
"error": "- A device codename is required. (include /codename devicecodename)",
},
"version": {
"data": True,
Expand Down Expand Up @@ -45,7 +45,7 @@ def validate(description):
if value:
if label in seen:
errors.append(
f"{label} is duplicated, please specify only one {label}"
f"- '{label}' is duplicated, please specify only one {label}"
)
else:
seen.append(label)
Expand Down

0 comments on commit ae0453c

Please sign in to comment.