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

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <p align="center">
  2. <a href="https://discord-net-labs.com/" title="Click to visit the documentation!">
  3. <img src="https://discord-net-labs.com/marketing/Logo/SVG/Combinationmark%20White%20Border.svg" alt="Logo">
  4. </a>
  5. <br />
  6. <br />
  7. <a href="https://www.nuget.org/packages/Discord.Net.Labs/">
  8. <img src="https://img.shields.io/nuget/vpre/Discord.Net.Labs.svg?maxAge=2592000?style=plastic" alt="NuGet">
  9. </a>
  10. <a href="https://www.myget.org/feed/Packages/discord-net-labs">
  11. <img src="https://img.shields.io/myget/discord-net-labs/vpre/Discord.Net.Labs.svg" alt="MyGet">
  12. </a>
  13. <a href="https://dev.azure.com/Discord-Net-Labs/Discord-Net-Labs/_build/latest?definitionId=1&amp;branchName=release%2F3.x">
  14. <img src="https://dev.azure.com/Discord-Net-Labs/Discord-Net-Labs/_apis/build/status/Discord-Net-Labs.Discord.Net-Labs?branchName=release%2F3.x" alt="Build Status">
  15. </a>
  16. <a href="https://discord.gg/dvSfUTet3K">
  17. <img src="https://discord.com/api/guilds/848176216011046962/widget.png" alt="Discord">
  18. </a>
  19. </p>
  20. This repo is a custom fork of Discord.Net that introduces the newest features of discord for testing and experimenting. Nothing here is guaranteed to work but you are more than welcome to submit bugs in the issues tabs
  21. ----
  22. - 📄 [Documentation](https://discord-net-labs.com)
  23. - 🔗 [Support](https://discord.com/invite/dnet-labs)
  24. - 📚 [Guides](https://discord-net-labs.com/guides/introduction/intro.html)
  25. ## Sponsor us! ❤
  26. - If this library benefits you consider [sponsoring](https://github.com/sponsors/quinchs) the project as it really helps out. *Only sponsor if you're financially stable!*
  27. ## Known compatibility issues
  28. - Playwo's [InteractivityAddon](https://www.nuget.org/packages/Discord.InteractivityAddon)
  29. * ❌ Reason: The default package depends on Discord.NET instead of labs.
  30. * ✔ Fix: [InteractivityAddon.Labs](https://www.nuget.org/packages/Discord.InteractivityAddon.Labs), which implements some of the features added in Discord.Net-Labs.
  31. - [Victoria](https://github.com/Yucked/Victoria)
  32. * ❌ Reason: Victoria is built around Discord.NET and is not supported by labs.
  33. * ✔ Fix: A custom build based on Discord.NET-labs:
  34. ```xml
  35. <PropertyGroup>
  36. <RestoreAdditionalProjectSources>https://www.myget.org/F/yucked/api/v3/index.json</RestoreAdditionalProjectSources>
  37. </PropertyGroup>
  38. ```
  39. ## How to use
  40. Setting up labs in your project is really simple, here's how to do it:
  41. 1) Remove Discord.Net from your project
  42. 2) Add Discord.Net Labs nuget to your project
  43. 3) That's all!
  44. ## Implementations
  45. What Discord.NET-labs has that Discord.NET does not:
  46. - Major changes
  47. * Added Interaction Support.
  48. * Added Application commands (slash, user, message).
  49. * Added Message Components (buttons, select menus).
  50. * Added Thread Channels.
  51. * Added Stage Channels.
  52. * Revamped Stickers.
  53. - Minor changes
  54. * Added `TimestampTag`.
  55. * Made `Hierarchy` a `IGuildUser` property.
  56. * Changes embed discription length to 4096.
  57. * Added `Name` property to teams.
  58. * Added url validation to embeds.
  59. * Added `NsfwLevel` to Guilds.
  60. * Added helpers to `Emoji` for parsing.
  61. * Fixed gateway serialization to include nulls.
  62. * Added banner and accent color to guild users.
  63. * Fixed `CurrentUserId` in sharded clients being null.
  64. * Fixed Guild owner and Admin `GuildPermissions.All`.
  65. * Added `RatelimitCallback` to `RequestOptions`.
  66. ## Branches
  67. ### Dev
  68. This branch is kept up to date with dnets dev branch. we pull of it to ensure that labs will work with pre existing dnet code.
  69. ### release/3.x
  70. This branch is what will be pushed to nuget, sometimes its not up to date as we wait for other features to be finished.
  71. ### old/SlashCommandService
  72. This branch is on pause and does not work currently, There is a pull request open to implement a working version of a slash command service. It can be found [here](https://github.com/Discord-Net-Labs/Discord.Net-Labs/pull/52)
  73. ### feature/xyz
  74. These branches are features for new things, you are more than welcome to clone them and give feedback in the discord server or issues tab.