Skip to content

Commit 76f6675

Browse files
committed
Merge branch 'feature/message-forwards' of https://github.com/Misha-133/Discord.Net into feature/message-forwards
2 parents 0467da3 + c41fd61 commit 76f6675

File tree

198 files changed

+6269
-2464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+6269
-2464
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
dotnet-version: 8.0.x
2828

2929
- name: Setup DocFX
30-
run: dotnet tool install -g docfx --version 2.75.2
30+
run: dotnet tool install -g docfx --version 2.76.0
3131

3232
- name: Build DNet docs
3333
run: docfx docs/docfx.json

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
paths-ignore:
1111
- 'docs/**'
1212
pull_request:
13+
paths-ignore:
14+
- 'docs/**'
1315

1416
jobs:
1517
build:

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## [3.15.2] - 2024-06-18
4+
### Hotfix
5+
- fix `AutocompleteAttribute` with empty constructor
6+
- fix `Emote` constructor related issues
7+
8+
## [3.15.1] - 2024-06-18
9+
### Added
10+
- #2927 Add missing PollProperties (a59f4ba)
11+
- #2942 Add purchase notification (9d92435)
12+
- #2934 Add MessageCallData (21195a8)
13+
- #2932 Config Bypass for CanSendResponse (9030a5b)
14+
- #2933 Premium Buttons (531b5eb)
15+
- #2941 Add UseExternalApps permission (f7f29d5)
16+
### Misc
17+
- #2936 Public constructor for Emote (3be72a8)
18+
- #2935 Generic autocomplete (35b102a)
19+
- #2929 Enable nuget debug symbols. (aa424f6)
20+
21+
## [3.15.0] - 2024-05-12
22+
### Added
23+
- #2902 Polls (476ec06)
24+
- #2898 Guild bans with seconds prune period (d1da2a0)
25+
- #2903 Create `RequireTeamAttribute` (753724d)
26+
- #2906 Create `DoHierarchyCheckAttribute` (1a5cba8)
27+
- #2923 Create `RequireRoleAttribute` (5dadcb2)
28+
- #2919 More store stuff (f9086d3)
29+
- #2920 Add `SocketInteraction.InteractionChannel` (3054505)
30+
31+
### Fixed
32+
- #2910 RestDMChannel relies on recipient (13ea566)
33+
- #2911 Don't rely on Guild for id (397a887)
34+
- #2912 Don't depend on WebSocket for Interaction service (a2f624e)
35+
- #2922 NRE with rest interactions & no api call (again) (83fdc89)
36+
- #2924 Fix null error when using a `SelectMenuBuilder` constructor (93cb71a)
37+
38+
### Misc
39+
- #2905 Remove analyzer project & resolve some build warnings (7aab366)
40+
- #2913 Replace generic exceptions. (54d2fe5)
41+
- #2908 Support options in Rest's AddRoleAsync (b70e21b)
42+
- #2914 `.Distinct()` roles(ids) in `IGuildUser.ModifyAsync` (27a0785)
43+
- #2915 Improve bulk bans (f85bf9a)
44+
45+
346
## [3.14.1] - 2024-03-19
447
### Fixed
548
- Version number contains commit hash

Discord.Net.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
3-
<VersionPrefix>3.14.1</VersionPrefix>
3+
<VersionPrefix>3.15.2</VersionPrefix>
44
<LangVersion>latest</LangVersion>
55
<Authors>Discord.Net Contributors</Authors>
66
<PackageTags>discord;discordapp</PackageTags>

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The documentation for the Discord.Net library uses [DocFX][docfx-main].
44
Instructions for installing this tool can be found [here][docfx-installing].
55

66
> [!IMPORTANT]
7-
> You must use DocFX version **2.75.2** for everything to work.
7+
> You must use DocFX version **2.76.0** for everything to work correctly.
88
99
1. Navigate to the root of the repository.
1010
2. Build the docs using `docfx docs/docfx.json`. Add the `--serve`

docs/_template/material/public/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
{
2323
// Ugly hack to improve toc filter.
2424
let target = document.getElementById("toc");
25+
26+
if(!target) return;
27+
2528
let config = { attributes: false, childList: true, subtree: true };
2629
let observer = new MutationObserver((list) =>
2730
{

docs/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"globalMetadata": {
6060
"_appTitle": "Discord.Net Documentation",
6161
"_appName": "Discord.Net",
62-
"_appFooter": "Discord.Net © 2015-2024 3.14.1",
62+
"_appFooter": "Discord.Net © 2015-2024 3.15.2",
6363
"_enableSearch": true,
6464
"_appLogoPath": "marketing/logo/SVG/Logomark Purple.svg",
6565
"_appFaviconPath": "favicon.png"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
uid: FAQ.Basics.ChannelInheritance
3+
title: Channel Inheritance
4+
---
5+
6+
# Discord.NET channel inheritance tree
7+
8+
![`IChannel` interface inheritance tree](images/channel-interface-tree.svg)
458 KB
Loading

docs/faq/basics/images/channel-interface-tree.svg

Lines changed: 353 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)