Skip to content

An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net

License

Notifications You must be signed in to change notification settings

Discord-NET-Robot/Discord.Net-Labs

 
 

Repository files navigation

Logo

NuGet MyGet Build Status Discord

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


Sponsor us! ❤

  • If this library benefits you consider sponsoring the project as it really helps out. Only sponsor if you're financially stable!

Known compatibility issues

  • Playwo's InteractivityAddon

    • ❌ Reason: The default package depends on Discord.NET instead of labs.
    • ✔ Fix: InteractivityAddon.Labs, which implements some of the features added in Discord.Net-Labs.
  • Victoria

    • ❌ Reason: Victoria is built around Discord.NET and is not supported by labs.
    • ✔ Fix: A custom build based on Discord.NET-labs:
<PropertyGroup>
  <RestoreAdditionalProjectSources>https://www.myget.org/F/yucked/api/v3/index.json</RestoreAdditionalProjectSources>
</PropertyGroup>

How to use

Setting up labs in your project is really simple, here's how to do it:

  1. Remove Discord.Net from your project
  2. Add Discord.Net Labs nuget to your project
  3. That's all!

Implementations

What Discord.NET-labs has that Discord.NET does not:

  • Major changes

    • Interaction Support.
    • Application commands (slash, user, message).
    • Message Components (buttons, select menus).
    • Thread Channels.
    • Stage Channels.
    • Guild Events.
    • Revamped Stickers.
  • Minor changes

    • Added TimestampTag.
    • Made Hierarchy a IGuildUser property.
    • Changes embed discription length to 4096.
    • Added Name property to teams.
    • Added url validation to embeds.
    • Added NsfwLevel to Guilds.
    • Added helpers to Emoji for parsing.
    • Fixed gateway serialization to include nulls.
    • Added banner and accent color to guild users.
    • Fixed CurrentUserId in sharded clients being null.
    • Fixed Guild owner and Admin GuildPermissions.All.
    • Added RatelimitCallback to RequestOptions.

Branches

Dev

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.

release/3.x

This branch is what will be pushed to nuget, sometimes its not up to date as we wait for other features to be finished.

old/SlashCommandService

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

feature/xyz

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.

About

An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%