Skip to content

Commit df4c850

Browse files
committed
official docs
1 parent 73455b6 commit df4c850

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/model/application/component.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<'de> Deserialize<'de> for Component {
115115

116116
/// A component that is a container for up to 3 text display components and an accessory.
117117
///
118-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
118+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
119119
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
120120
#[derive(Clone, Debug, Deserialize, Serialize)]
121121
#[non_exhaustive]
@@ -139,7 +139,7 @@ pub struct Section {
139139
///
140140
/// See [`Section`] for how this fits within a section.
141141
///
142-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
142+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
143143
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
144144
#[derive(Clone, Debug, Deserialize, Serialize)]
145145
#[non_exhaustive]
@@ -158,7 +158,7 @@ pub struct Thumbnail {
158158

159159
/// An unfurled media item.
160160
///
161-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
161+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
162162
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
163163
#[derive(Clone, Debug, Deserialize, Serialize)]
164164
#[non_exhaustive]
@@ -195,7 +195,7 @@ enum_number! {
195195

196196
/// A text display component.
197197
///
198-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
198+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
199199
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
200200
#[derive(Clone, Debug, Deserialize, Serialize)]
201201
#[non_exhaustive]
@@ -207,7 +207,7 @@ pub struct TextDisplay {
207207

208208
/// A media gallery component.
209209
///
210-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
210+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
211211
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
212212
#[derive(Clone, Debug, Deserialize, Serialize)]
213213
#[non_exhaustive]
@@ -224,7 +224,7 @@ pub struct MediaGallery {
224224
///
225225
/// Belongs to [`MediaGallery`].
226226
///
227-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
227+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
228228
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
229229
#[derive(Clone, Debug, Deserialize, Serialize)]
230230
#[non_exhaustive]
@@ -240,7 +240,7 @@ pub struct MediaGalleryItem {
240240

241241
/// A separator component
242242
///
243-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
243+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
244244
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
245245
#[derive(Clone, Debug, Deserialize, Serialize)]
246246
#[non_exhaustive]
@@ -270,7 +270,7 @@ enum_number! {
270270

271271
/// A file component, will not render a text preview to the user.
272272
///
273-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
273+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
274274
#[derive(Clone, Debug, Deserialize, Serialize)]
275275
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
276276
#[non_exhaustive]
@@ -287,7 +287,7 @@ pub struct FileComponent {
287287

288288
/// A container component, similar to an embed but without all the functionality.
289289
///
290-
/// [Incomplete Discord docs](https://github.com/Lulalaby/discord-api-docs/pull/30)
290+
/// [Discord docs](https://github.com/discord/discord-api-docs/pull/7487/)
291291
#[derive(Clone, Debug, Deserialize, Serialize)]
292292
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
293293
#[non_exhaustive]

src/model/channel/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ bitflags! {
971971
/// - Files will not have a simple text preview.
972972
/// - URLs will not generate embeds.
973973
///
974-
/// For more details, refer to the Discord documentation: [https://github.com/Lulalaby/discord-api-docs/pull/30]
974+
/// For more details, refer to the Discord documentation: [https://github.com/discord/discord-api-docs/pull/7487/]
975975
const IS_COMPONENTS_V2 = 1 << 15;
976976

977977
}

0 commit comments

Comments
 (0)