Skip to content

Commit 1332027

Browse files
ciberejjw24
andauthored
Update tqdm msg for sending disco notifications
Co-authored-by: Jeremy Wu <[email protected]>
1 parent c5db0de commit 1332027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/src/discord.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def send_notification(
106106
return
107107

108108
if is_release or version_tuple(info[version]) != version_tuple(latest_ver):
109-
tqdm.write(f"Update detected: {info[plugin_name]} {latest_ver}")
109+
tqdm.write(f"Sending Discord notification for {"new plugin" if is_release else "new plugin update"} : {info[plugin_name]} {latest_ver}")
110110
hook = release_hook if is_release else update_hook
111111
try:
112112
await hook(webhook_url, info, latest_ver, release)

0 commit comments

Comments
 (0)