Skip to content

Commit a791b45

Browse files
committed
Add mention text control tag
1 parent 491a573 commit a791b45

18 files changed

Lines changed: 776 additions & 7 deletions

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/BoldTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ IReadOnlyList<TextControlElement> children
2727
typeof(QuoteTextControlElement),
2828
typeof(SpoilerTextControlElement),
2929
typeof(LineBreakTextControlElement),
30+
typeof(TimeTagTextControlElement),
3031
];
3132

3233
protected override Result<RenderedTextControlElement> Render(

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/HeadingTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ IReadOnlyList<TextControlElement> children
3535
typeof(QuoteTextControlElement),
3636
typeof(SpoilerTextControlElement),
3737
typeof(LineBreakTextControlElement),
38+
typeof(TimeTagTextControlElement),
3839
];
3940

4041
protected override Result<RenderedTextControlElement> Render(

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/ItalicTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ IReadOnlyList<TextControlElement> children
2626
typeof(QuoteTextControlElement),
2727
typeof(SpoilerTextControlElement),
2828
typeof(LineBreakTextControlElement),
29+
typeof(TimeTagTextControlElement),
2930
];
3031

3132
protected override Result<RenderedTextControlElement> Render(

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/LinkTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ IReadOnlyList<TextControlElement> children
2424
typeof(UnderlineTextControlElement),
2525
typeof(SpoilerTextControlElement),
2626
typeof(LineBreakTextControlElement),
27+
typeof(TimeTagTextControlElement),
2728
];
2829

2930
protected override Result<RenderedTextControlElement> Render(

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/ListItemTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ IReadOnlyList<TextControlElement> children
2626
typeof(QuoteTextControlElement),
2727
typeof(SpoilerTextControlElement),
2828
typeof(LineBreakTextControlElement),
29+
typeof(TimeTagTextControlElement),
2930
];
3031

3132
protected override Result<RenderedTextControlElement> Render(

src/Discord.Net.ComponentDesigner.Generator/Nodes/Components/Text/Controls/ListTextControlElement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ IReadOnlyList<TextControlElement> children
3434
typeof(QuoteTextControlElement),
3535
typeof(SpoilerTextControlElement),
3636
typeof(LineBreakTextControlElement),
37+
typeof(TimeTagTextControlElement),
3738
];
3839

3940
protected override Result<RenderedTextControlElement> Render(

0 commit comments

Comments
 (0)