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 2.1 kB

10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
7 years ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Discord.Net
  2. [![NuGet](https://img.shields.io/nuget/vpre/Discord.Net.svg?maxAge=2592000?style=plastic)](https://www.nuget.org/packages/Discord.Net)
  3. [![MyGet](https://img.shields.io/myget/discord-net/vpre/Discord.Net.svg)](https://www.myget.org/feed/Packages/discord-net)
  4. [![Build status](https://ci.appveyor.com/api/projects/status/5sb7n8a09w9clute/branch/dev?svg=true)](https://ci.appveyor.com/project/RogueException/discord-net/branch/dev)
  5. [![Discord](https://discordapp.com/api/guilds/81384788765712384/widget.png)](https://discord.gg/jkrBmQR)
  6. An unofficial .NET API Wrapper for the Discord client (http://discordapp.com).
  7. Check out the [documentation](https://discord.foxbot.me/docs/) or join the [Discord API Chat](https://discord.gg/jkrBmQR).
  8. ## Installation
  9. ### Stable (NuGet)
  10. Our stable builds available from NuGet through the Discord.Net metapackage:
  11. - [Discord.Net](https://www.nuget.org/packages/Discord.Net/)
  12. The individual components may also be installed from NuGet:
  13. - [Discord.Net.Commands](https://www.nuget.org/packages/Discord.Net.Commands/)
  14. - [Discord.Net.Rest](https://www.nuget.org/packages/Discord.Net.Rest/)
  15. - [Discord.Net.WebSocket](https://www.nuget.org/packages/Discord.Net.WebSocket/)
  16. - [Discord.Net.Webhook](https://www.nuget.org/packages/Discord.Net.Webhook/)
  17. ### Unstable (MyGet)
  18. Nightly builds are available through our MyGet feed (`https://www.myget.org/F/discord-net/api/v3/index.json`).
  19. ## Compiling
  20. In order to compile Discord.Net, you require the following:
  21. ### Using Visual Studio
  22. - [Visual Studio 2017](https://www.microsoft.com/net/core#windowsvs2017)
  23. - [.NET Core SDK](https://www.microsoft.com/net/download/core)
  24. The .NET Core workload must be selected during Visual Studio installation.
  25. ### Using Command Line
  26. - [.NET Core SDK](https://www.microsoft.com/net/download/core)
  27. ## Known Issues
  28. ### WebSockets (Win7 and earlier)
  29. .NET Core 1.1 does not support WebSockets on Win7 and earlier. This issue has been fixed since the release of .NET Core 2.1; it is recommended to target .NET Core 2.1 or above if you wish to run your bot on legacy platforms.