title: Setting the action on rasa restart
body: <p>Hi I'm trying to set some message to be uttered when the user restart the conversation. I have <a href="https://forum.rasa.com/t/how-to-utter-something-after-conversation-is-restarted/33274" rel="nofollow noreferrer">asked</a>
  in Rasa Forum and tried to change the code. But it returned this error</p>
  <blockquote>
  <p>AttributeError: ‘Tracker’ object has no attribute ‘utter_message’</p>
  </blockquote>
  <p>This is the code that I wrote:</p>
  <pre><code>class ActionRestarted(Action):
  &quot;&quot;&quot; This is for restarting the chat&quot;&quot;&quot;
  
  def name(self) -&gt; Text:
      return &quot;action_restart&quot;
  
  async def run(
          self,
          tracker: Tracker,
          dispatcher: CollectingDispatcher,
          domain: Dict[Text, Any],) -&gt; List[Event]:
      from rasa.core.events import Restarted
  
      # only utter the template if it is available
      evts = await super().run(tracker, domain, dispatcher.utter_message(&quot;Restarted&quot;))
      return evts + [Restarted()]
  </code></pre>
  <p>Feel free to point out my mistake and correct them thank you</p>