Browse Source

Update README.md

tags/docs-0.9
RogueException 10 years ago
parent
commit
0fcf1367de
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      README.md

+ 2
- 2
README.md View File

@@ -20,9 +20,9 @@ Discord.Net itself is also in alpha so several functions may be unstable or not
### Example (Echo Client)
```
var client = new DiscordClient();
client.MessageCreated += (s, e) =>
client.MessageCreated += async (s, e) =>
{
client.SendMessage(e.Message.ChannelId, e.Message.Text);
await client.SendMessage(e.Message.ChannelId, e.Message.Text);
};
await client.Connect("discordtest@email.com", "Password123");
await client.AcceptInvite("channel-invite-code");


Loading…
Cancel
Save