# Discourse Trust Levels for Discord

**URL:** <https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232>\
**Category:** Development\
**Created:** [03.Февраль.2019 06:05:26 UTC](https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232 "2019-02-03T06:05:26Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Watercolor\_Games](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watercolor_games/32/131248_2.png) [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)\
**Post date:** [04.Февраль.2019 21:11:21 UTC](https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232/13 "2019-02-04T21:11:21Z")

</div>

Milestone for today:

I’ve added a `logout` command, and a `profile` command. Doing `discourse profile` will show you your own user profile:

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/6/863e50c70513343c82885752a144417192f693e3.png)

If you do `discourse profile <username>`, the bot will look for a user with a matching username and display its profile. This is the profile of my community admin on one of my Discourse instances:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/c/bc98416c73ffcab2a124573719ffb9fc7fbbc4fa.png)

It seems like I need to sanitize `bio_excerpts` since they contain raw HTML and Discord rich embeds don’t like that. They’ll parse links though, which is okay.

Leave it to him spamming his Twitch page to unknowingly find a bug in my code 🙂

If the bot can’t find a user with a matching username, it’ll tell you:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/d/3d1f76695e0bc0ab7b521bd2a67c9147fb9835f8.png)

It may even let you see discobot:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/a/4a7b106d22079feef4ad928406c66e6ad2cdc37a.png)

Actually, part of me wants to name this Discord bot ‘discobot’ because, although they don’t accomplish the same tasks, they’re both robots and related to Discourse. 🙂

---

_[View the full topic](https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232)._
