Skip to content

Commit

Permalink
Try allow deprecated above deprecation declare
Browse files Browse the repository at this point in the history
  • Loading branch information
rickmartensnl committed Jul 29, 2024
1 parent 318519c commit ead337f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilight-model/src/http/interaction.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! Models used when responding to interactions over HTTP.
#![allow(deprecated)]

use super::attachment::Attachment;
use crate::{
Expand Down Expand Up @@ -107,6 +106,7 @@ pub enum InteractionResponseType {
/// Please send a [`InteractionResponseType::ChannelMessageWithSource`]
/// with an [`Button`](crate::channel::message::component::Button) with the style [`ButtonStyle::Premium`](crate::channel::message::component::ButtonStyle)
/// instead.
#[allow(deprecated)]
#[deprecated(note = "This response type has been deprecated by Discord.")]
PremiumRequired = 10,
}
Expand Down

0 comments on commit ead337f

Please sign in to comment.