Compare commits

..

No commits in common. 'd7facca8427c180c29fc8b56ec69238c0a18ec34' and '58f85b30ac7320dbcfe8be4a40b23c5ee68e4e77' have entirely different histories.

@ -7,7 +7,7 @@ RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busyb
RUN pip install --upgrade pip wheel
# Install gevent so that we don't need to re-install it when common changes
RUN pip install gevent
RUN pip install gevent==22.10.2
# Install common lib first as it changes less
COPY common /tmp/common

@ -157,7 +157,7 @@ def main(conf_file, message_log_file, name=socket.gethostname()):
logging.info("New donation total: {}{}{}".format(msg["d"], increase_str, entries_str))
total = msg["d"]
if increase is not None and increase > 0:
client.send_to_stream("firehose", "Donations", "Donation total is now ${:.2f}{}{}".format(msg["d"], increase_str, entries_str))
client.send_to_stream("bot-spam", "Donation Firehose", "Donation total is now ${:.2f}{}{}".format(msg["d"], increase_str, entries_str))
if increase is not None and increase >= 500:
client.send_to_stream("bot-spam", "Notable Donations", "Large donation of ${:.2f} (total ${:.2f}){}".format(increase, msg['d'], entries_str))

Loading…
Cancel
Save