# How do I send an automated message as System or Discobot?

**URL:** https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966
**Category:** Support
**Created:** [30 באפריל,‏ 2020,‏ 6:40pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966 "2020-04-30T18:40:31Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 6:40pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/1 "2020-04-30T18:40:31Z")

</div>

Is there any way I could send a user an automated message from the “system” or “discobot” user? This would not be timed or anything, it would just come from the system.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באפריל,‏ 2020,‏ 6:48pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/2 "2020-04-30T18:48:03Z")

</div>

You can impersonate the system user at `https://SITE/admin/users/-1/system`

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 6:58pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/3 "2020-04-30T18:58:41Z")

</div>

Okay thank you very much.

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:06pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/4 "2020-04-30T19:06:30Z")

</div>

I just tried to do that, it just brings me to editing the system’s profile in admin view.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באפריל,‏ 2020,‏ 7:07pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/5 "2020-04-30T19:07:20Z")

</div>

Scroll to the bottom:

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

EDIT: Oops. You said “automated.” I’m not sure how to do that. You might be able to do a timed post? What are you trying to do?

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:08pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/6 "2020-04-30T19:08:45Z")

</div>

Ah thank you, did not notice that.

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:09pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/7 "2020-04-30T19:09:41Z")

</div>

Doesn’t matter, I can send it myself.

I don’t see it anywhere 😆

Here is what I see: [Screen capture - 7fb63722650535b0856b3d224816aa52 - Gyazo](https://gyazo.com/7fb63722650535b0856b3d224816aa52)

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:11pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/8 "2020-04-30T19:11:39Z")

</div>

**Final reply**  
I think you just cant do it on the system account because I can do it on other accounts.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באפריל,‏ 2020,‏ 7:12pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/9 "2020-04-30T19:12:40Z")

</div>

Hmm. I did it on one of my sites, so I don’t know why you can’t. Maybe because my email is in `DISCOURSE_DEVELOPER_EMAILS`?

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:14pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/10 "2020-04-30T19:14:26Z")

</div>

What do you mean is in discourse\_developer?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באפריל,‏ 2020,‏ 7:16pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/11 "2020-04-30T19:16:09Z")

</div>

In `app.yml` is

```
  DISCOURSE_DEVELOPER_EMAILS: 'me@example.com,you@example.com'

```

It might be that you need to have your address there to impersonate a system (or admin?) user.

To stop impersonating you must log out. Typing `ZZ` is the easiest way.

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:17pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/12 "2020-04-30T19:17:59Z")

</div>

I removed that question from my post as I figured out to just lo out.

> [@pfaffman](#):
>
> To stop impersonating you must log out. Typing `ZZ` is the easiest way.

I am part of the open-source plan at Discourse, so I don’t have access to the system logs. Should I ask them via email to do it?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באפריל,‏ 2020,‏ 7:20pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/13 "2020-04-30T19:20:12Z")

</div>

> [@mason.menter](#):
>
> I am part of the open-source plan at Discourse,

Oh. That explains it. You probably just can’t impersonate admin users.

---

<div class="post-metadata">

### Author: ![mason.menter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mason.menter/32/184105_2.png) [@mason.menter](https://meta.discourse.org/u/mason.menter)
#### Post date: [30 באפריל,‏ 2020,‏ 7:21pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/14 "2020-04-30T19:21:31Z")

</div>

Yeah, I might just make a new account and give it the same permissions as the system role and name it system or something like that and control it that way.

Also I’m sorry to be a bother but my one user really is begging me to fix: [this issue](https://meta.discourse.org/t/users-cannot-invite/149971). Can you help me out with that?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [30 באפריל,‏ 2020,‏ 10:03pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/15 "2020-04-30T22:03:53Z")

</div>

Two things you can do:

- Generate an “All Users” API key and make the posts using `api_username=system`.
- Create the post under a regular account, and use the “Change Ownership” feature in the post wrench menu to give the post to @system.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [30 במאי,‏ 2020,‏ 10:15pm UTC](https://meta.discourse.org/t/how-do-i-send-an-automated-message-as-system-or-discobot/149966/16 "2020-05-30T22:15:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
