You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.1 kB

10 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. # Discord.Net
  2. A .Net API Wrapper for the Discord client (http://discordapp.com).
  3. ## This is an alpha build!
  4. The Discord API is still in active development, meaning this library may break at any time without notice.
  5. Discord.Net is also in early development so several functions may be unstable or not work at all.
  6. # Features
  7. - Login/Logout (account or anonymous)
  8. - Accepting Invites (standard or human readable)
  9. - Deleting Invites
  10. - Receiving/Sending Messages
  11. - Creating/Destroying Servers
  12. - Creating/Destroying Channels
  13. - Several Discord Events
  14. # Upcoming
  15. - Modifying User/Channel/Server Settings
  16. - Creating Invites
  17. - Kick/Ban/Unban/Mute/Unmute/Deafen/Undeafen
  18. - Sending Private Messages
  19. # Example (Echo Client)
  20. ```
  21. var client = new DiscordClient();
  22. client.MessageCreated += (s, e) =>
  23. {
  24. client.SendMessage(e.Message.ChannelId, e.Message.Text);
  25. };
  26. await client.Connect("discordtest@email.com", "Password123");
  27. await client.AcceptInvite("channel-invite-code");
  28. ```
  29. # Remarks
  30. Due to current Discord restrictions, private messages are blocked unless both the sender and recipient are members of the same server.