-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for incoming webhook commands #345
Add support for incoming webhook commands #345
Conversation
...ora.Discord.API.Abstractions/API/Objects/WebhookEvents/IApplicationAuthorizedWebhookEvent.cs
Fixed
Show fixed
Hide fixed
...ora.Discord.API.Abstractions/API/Objects/WebhookEvents/IApplicationAuthorizedWebhookEvent.cs
Fixed
Show fixed
Hide fixed
...ora.Discord.API.Abstractions/API/Objects/WebhookEvents/IApplicationAuthorizedWebhookEvent.cs
Fixed
Show fixed
Hide fixed
...ora.Discord.API.Abstractions/API/Objects/WebhookEvents/IApplicationAuthorizedWebhookEvent.cs
Fixed
Show fixed
Hide fixed
Backend/Remora.Discord.API.Abstractions/API/Objects/WebhookEvents/IWebhookEvent.cs
Fixed
Show fixed
Hide fixed
/// <summary> | ||
/// The payload is an event with data. | ||
/// </summary> | ||
Event |
Check notice
Code scanning / InspectCode
Type member is never used: Non-private accessibility Note
/// <summary> | ||
/// The application was authorized to a user or guild. | ||
/// </summary> | ||
ApplicationAuthorized, |
Check notice
Code scanning / InspectCode
Type member is never used: Non-private accessibility Note
/// <summary> | ||
/// An entitlement was created. | ||
/// </summary> | ||
EntitlementCreate, |
Check notice
Code scanning / InspectCode
Type member is never used: Non-private accessibility Note
/// <summary> | ||
/// User was added to a Quest (currently unavailable). | ||
/// </summary> | ||
QuestUserEnrollment, |
Check notice
Code scanning / InspectCode
Type member is never used: Non-private accessibility Note
namespace Remora.Discord.API.Objects; | ||
|
||
/// <inheritdoc cref="IWebhookEvent"/> | ||
public record WebhookEvent |
Check notice
Code scanning / InspectCode
Class is never instantiated: Non-private accessibility Note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've got a few inspections to take care of (missing PublicAPI annotations) and there's no .optionals.json test file for APPLICATION_AUTHORIZED_WEBHOOK_EVENT - otherwise, everything looks good. Thanks!
https://discord.com/developers/docs/events/webhook-events#webhook-events