Discord.NET await outside command
<p>I'm programming Discord bot and I went into a big problem. I am programming RPG bot so I need to write player's HP and enemy's hp really often so I've made a function.</p>

<pre><code>private void showHP(CommandEventArgs e)
{
    client.ExecuteAndWait(async() =&gt;
    {
        await e.Channel.SendMessage(userInside + " - " + player.HP);
    });
}
</code></pre>

<p>That CommandEventArgs e comes from Command function since I need to access the channel where that command has been executed.</p>

<pre><code>commands.CreateCommand("attack").Do(async (e) =&gt;
{
    await e.Channel.SendMessage("You have attacked");
    showHP(e);
}
</code></pre>

<p>Everything seems to work pretty well... Until it is executed. The whole bot stucks and it is endlessly waiting, so I think I've used async and wait commands wrongly. If I don't use them at all the message is falling into timeout.</p>