webhooks: Update references to "private message" and "PM".

Updates references to "private message" and "PM" to instead be
"direct message".
This commit is contained in:
Lauryn Menard
2023-06-19 16:34:52 +02:00
committed by Tim Abbott
parent 2eeeda7694
commit b75c99b893
5 changed files with 10 additions and 10 deletions

View File

@@ -130,10 +130,10 @@ def check_send_webhook_message(
else:
check_send_stream_message(user_profile, client, stream, topic, body)
except StreamDoesNotExistError:
# A PM will be sent to the bot_owner by check_message, notifying
# that the webhook bot just tried to send a message to a non-existent
# stream, so we don't need to re-raise it since it clutters up
# webhook-errors.log
# A direct message will be sent to the bot_owner by check_message,
# notifying that the webhook bot just tried to send a message to a
# non-existent stream, so we don't need to re-raise it since it
# clutters up webhook-errors.log
pass