-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Refactor Audit Logs #616
Labels
c-model
Affects the model crate
d-api
Change related to Discord's API.
m-breaking change
Breaks the public API.
Milestone
Comments
zeylahellyer
added
m-breaking change
Breaks the public API.
c-model
Affects the model crate
d-api
Change related to Discord's API.
enhancement
labels
Nov 23, 2020
zeylahellyer
added a commit
that referenced
this issue
Jun 29, 2021
) Rename the `AuditLogEntry` variant `GuildCreate` to `GuildUpdate` due to `GuildUpdate` being the correct name. Docs: <https://github.com/discord/discord-api-docs/blob/101c24dc80460e2e168ffd66551ea22eab72e796/docs/resources/Audit_Log.md#audit-log-events> Closes #616. BREAKING CHANGES: `twilight_model::guild::audit_log::AuditLogEvent`'s `GuildCreate` variant has been renamed to `GuildUpdate`.
7596ff
pushed a commit
to 7596ff/twilight
that referenced
this issue
Jul 25, 2021
…wilight-rs#966) Rename the `AuditLogEntry` variant `GuildCreate` to `GuildUpdate` due to `GuildUpdate` being the correct name. Docs: <https://github.com/discord/discord-api-docs/blob/101c24dc80460e2e168ffd66551ea22eab72e796/docs/resources/Audit_Log.md#audit-log-events> Closes twilight-rs#616. BREAKING CHANGES: `twilight_model::guild::audit_log::AuditLogEvent`'s `GuildCreate` variant has been renamed to `GuildUpdate`.
7596ff
pushed a commit
to 7596ff/twilight
that referenced
this issue
Jul 31, 2021
…wilight-rs#966) Rename the `AuditLogEntry` variant `GuildCreate` to `GuildUpdate` due to `GuildUpdate` being the correct name. Docs: <https://github.com/discord/discord-api-docs/blob/101c24dc80460e2e168ffd66551ea22eab72e796/docs/resources/Audit_Log.md#audit-log-events> Closes twilight-rs#616. BREAKING CHANGES: `twilight_model::guild::audit_log::AuditLogEvent`'s `GuildCreate` variant has been renamed to `GuildUpdate`.
Erk-
pushed a commit
to Erk-/twilight
that referenced
this issue
Aug 9, 2021
…wilight-rs#966) Rename the `AuditLogEntry` variant `GuildCreate` to `GuildUpdate` due to `GuildUpdate` being the correct name. Docs: <https://github.com/discord/discord-api-docs/blob/101c24dc80460e2e168ffd66551ea22eab72e796/docs/resources/Audit_Log.md#audit-log-events> Closes twilight-rs#616. BREAKING CHANGES: `twilight_model::guild::audit_log::AuditLogEvent`'s `GuildCreate` variant has been renamed to `GuildUpdate`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c-model
Affects the model crate
d-api
Change related to Discord's API.
m-breaking change
Breaks the public API.
Think it'd best to go over all interfaces with audit logs coz it doesn't seem to have received the same scrutiny as others. For example:
AuditLog
struct returned by theget_audit_log
method on http has all of its fields as private (fix(http, model): properly construct audit log route; expose AuditLog fields #662)GuildUpdate
gets shown as aGuildCreate
in the audit logs. Looking at theAuditLogEvent
struct, there is noGuildUpdate
, so I guess what is happening makes sense in a way. (Rename audit log event variantGuildCreate
toGuildUpdate
#966)The text was updated successfully, but these errors were encountered: