Site
Gitweb
Static
projects
/
counting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebfdec1
)
Improve incorrect strike report format
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Wed, 28 Sep 2022 02:31:53 +0000
(21:31 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Wed, 28 Sep 2022 02:31:53 +0000
(21:31 -0500)
strikebot/src/strikebot/__init__.py
patch
|
blob
|
history
diff --git
a/strikebot/src/strikebot/__init__.py
b/strikebot/src/strikebot/__init__.py
index abe60659ae0b6982f45861dbeec24108827e1ab2..77be97767dc66d8ea8d115eff79d533c88d40e64 100644
(file)
--- a/
strikebot/src/strikebot/__init__.py
+++ b/
strikebot/src/strikebot/__init__.py
@@
-80,7
+80,7
@@
def _format_update_ref(update: _Update, thread_id: str) -> str:
def _format_bad_strike_alert(update: _Update, thread_id: str) -> str:
- return
_format_update_ref(update, thread_id) + " was incorrectly stricken."
+ return
"_incorrectly stricken:_ " + _format_update_ref(update, thread_id)
def _format_curr_count(last_valid: Optional[_Update]) -> str: