Skip to content

Commit

Permalink
Make sure there is always some text to output
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJentzsch committed Feb 28, 2023
1 parent ba9bc6a commit 727f9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bubbles/commands/subreddits.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def subreddits(payload: Payload) -> None:
data = response.json()
response_txt = "\n".join(f"- r/{sub}: {count}" for (sub, count) in data.items())

payload.say(response_txt)
payload.say(f"Transcription count by subreddit {time_str}:\n{response_txt}")


PLUGIN = Plugin(func=subreddits, regex=r"^subreddits.*")

0 comments on commit 727f9df

Please sign in to comment.