diff --git a/appservice.py b/appservice.py index 21463ae..7f23c37 100644 --- a/appservice.py +++ b/appservice.py @@ -100,7 +100,7 @@ def on_receive_events(transaction): elif r.status_code == 401: txId += 1 err_notice = event["user_id"] + ": The pnut.io channel this room is connected with is restricted to valid " - err_notice += "pnut.io users only. Direct chat this bot to associate your account." + err_notice += "pnut.io users only. Start a direct chat to link your account." body = {'msgtype': 'm.notice', 'body': err_notice} url = app.config['MATRIX_HOST'] url += '/_matrix/client/r0/rooms/{0}/send/m.room.message/{1}'.format(event['room_id'], str(txId))