Skip to content

Implement components

Created by: VelvetThePanda

Summary

Implements components into the library. An (as of writing) upcoming feature to the API.

Details

Adds DiscordComponent base type and derivatives as well as support in appropriate areas.

Changes proposed

  • Add DiscordComponent
  • Add DiscordActionRow
  • Add .WithComponents() method to appropriate builders.
  • Add MessageBuilkder overloads to interaction builders.
  • Add UpdateMessage and DefferedMessageUpdate (Type 6 & 7) as interaction response types (Buttons only)
  • Add component collections to appropriate REST payloads.

if you notice anything I missed please mention me and I'll add it here

Notes

This is an early PR! #890 introduces a lot of merge conflicts that will have to be fixed after it's merged.

Merge request reports

Loading