# Automatically send private message when users reaches a new trust level

**URL:** <https://meta.discourse.org/t/automatically-send-private-message-when-users-reaches-a-new-trust-level/79095>\
**Category:** Feature\
**Tags:** completed\
**Created:** [January 26, 2018, 2:46pm UTC](https://meta.discourse.org/t/automatically-send-private-message-when-users-reaches-a-new-trust-level/79095 "2018-01-26T14:46:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![cryptominded](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cryptominded/32/120347_2.png) [@cryptominded](https://meta.discourse.org/u/cryptominded)\
**Post date:** [January 27, 2018, 7:55am UTC](https://meta.discourse.org/t/automatically-send-private-message-when-users-reaches-a-new-trust-level/79095/6 "2018-01-27T07:55:20Z")

</div>

@codinghorror That be great. For now, is there any way to retrieve a user’s trust level through JS so that we could assign a css class to the `<html>` tag and show a banner message or button once they reached a certain level?

---

_[View the full topic](https://meta.discourse.org/t/automatically-send-private-message-when-users-reaches-a-new-trust-level/79095)._
