Commit 5a06cc7
fix: 🐛 Fix docs rendering for
* 📝 Add missing rendering for MessageSnapshot in docs
* 📝 Add missing rendering for ForwardedMessage in docs
* 🐛 Add missing mentions property for ForwardedMessage
* style(pre-commit): auto fixes from pre-commit.com hooks
* Add to changelog
* style(pre-commit): auto fixes from pre-commit.com hooks
* Correct data conversion
* Correct docstring data type
* 📝 Add note in docs to inform about empty list possibility
* 📝 Update role_mentions docs to warn about its usage
* Implement type attribute
* Update changelog accordingly
* Copy role mentions logic from `Message`
This knowingly doesn't work yet due to a Discord limitation / unresolved discussion on the API. A warning in the docs is in place
* Add missing type information
* Update changelog
* Update CHANGELOG.md
,
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
---------
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>ForwardedMessage and MessageSnapshot and add missing attributes (#3051)1 parent 54983dc commit 5a06cc7
3 files changed
+36
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
747 | 748 | | |
748 | 749 | | |
749 | 750 | | |
750 | | - | |
751 | | - | |
752 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
753 | 758 | | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
754 | 762 | | |
755 | 763 | | |
756 | 764 | | |
| |||
792 | 800 | | |
793 | 801 | | |
794 | 802 | | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
795 | 814 | | |
796 | 815 | | |
797 | 816 | | |
| |||
1023 | 1042 | | |
1024 | 1043 | | |
1025 | 1044 | | |
1026 | | - | |
| 1045 | + | |
1027 | 1046 | | |
1028 | 1047 | | |
1029 | 1048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| |||
0 commit comments