Commit b0e0840
feat: adding missing parameters and attribute documentation (Pycord-Development#2772)
* Update guild.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* Update channel.py
add missings docs
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* Update guild.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* Update channel.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* Update guild.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* Update guild.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* Update CHANGELOG.md
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* Update CHANGELOG.md
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* Update guild.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* Update channel.py
removal of all the nsfw mention which should not exist for category
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* Update channel.py
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* fix typo
Co-authored-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/channel.py
Co-authored-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/channel.py
Co-authored-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/channel.py
Co-authored-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* style(pre-commit): auto fixes from pre-commit.com hooks
* feat(channel): deprecate is_nsfw method in CategoryChannel
* fix(channel): correct deprecated decorator arguments in CategoryChannel
* style(pre-commit): auto fixes from pre-commit.com hooks
* fix: improve clarity of NSFW parameter documentation and slowmode for continiuty
* fix: improve clarity of NSFW parameter documentation
* fix: add missing parameters to channel creation methods and deprecate unsupported nsfw for categories
* Update CHANGELOG.md
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* fix: add missing parameters for channel creation and allow default_reaction_emoji to be None
* Update CHANGELOG.md
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* added reference
* deprecated nsfw using property
* Update channel.py
* Update channel.py
* Update discord/guild.py
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/guild.py
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/guild.py
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
* Update discord/channel.py
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
---------
Signed-off-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: plun1331 <plun1331@gmail.com>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
(cherry picked from commit 9fd9b3e)
Signed-off-by: Paillat-dev <paillat@pycord.dev>1 parent 90ba570 commit b0e0840
3 files changed
Lines changed: 210 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
| |||
1086 | 1088 | | |
1087 | 1089 | | |
1088 | 1090 | | |
1089 | | - | |
| 1091 | + | |
1090 | 1092 | | |
1091 | 1093 | | |
1092 | 1094 | | |
| |||
1451 | 1453 | | |
1452 | 1454 | | |
1453 | 1455 | | |
1454 | | - | |
| 1456 | + | |
1455 | 1457 | | |
1456 | 1458 | | |
1457 | 1459 | | |
| |||
1691 | 1693 | | |
1692 | 1694 | | |
1693 | 1695 | | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
1694 | 1701 | | |
1695 | 1702 | | |
1696 | 1703 | | |
| |||
1998 | 2005 | | |
1999 | 2006 | | |
2000 | 2007 | | |
| 2008 | + | |
2001 | 2009 | | |
2002 | 2010 | | |
2003 | 2011 | | |
| |||
2048 | 2056 | | |
2049 | 2057 | | |
2050 | 2058 | | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
2051 | 2068 | | |
2052 | 2069 | | |
2053 | 2070 | | |
| |||
2202 | 2219 | | |
2203 | 2220 | | |
2204 | 2221 | | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
2205 | 2231 | | |
2206 | 2232 | | |
2207 | 2233 | | |
| |||
2661 | 2687 | | |
2662 | 2688 | | |
2663 | 2689 | | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2664 | 2700 | | |
2665 | 2701 | | |
2666 | 2702 | | |
| |||
2717 | 2753 | | |
2718 | 2754 | | |
2719 | 2755 | | |
2720 | | - | |
2721 | | - | |
2722 | 2756 | | |
2723 | 2757 | | |
2724 | 2758 | | |
2725 | | - | |
2726 | 2759 | | |
2727 | 2760 | | |
2728 | 2761 | | |
| |||
2733 | 2766 | | |
2734 | 2767 | | |
2735 | 2768 | | |
2736 | | - | |
2737 | 2769 | | |
2738 | 2770 | | |
2739 | 2771 | | |
| |||
2747 | 2779 | | |
2748 | 2780 | | |
2749 | 2781 | | |
2750 | | - | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
2751 | 2785 | | |
2752 | 2786 | | |
2753 | 2787 | | |
| |||
2757 | 2791 | | |
2758 | 2792 | | |
2759 | 2793 | | |
2760 | | - | |
2761 | 2794 | | |
2762 | 2795 | | |
2763 | 2796 | | |
| |||
2771 | 2804 | | |
2772 | 2805 | | |
2773 | 2806 | | |
2774 | | - | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
2778 | 2807 | | |
2779 | 2808 | | |
2780 | | - | |
| 2809 | + | |
2781 | 2810 | | |
2782 | 2811 | | |
2783 | 2812 | | |
2784 | 2813 | | |
2785 | 2814 | | |
2786 | 2815 | | |
2787 | 2816 | | |
2788 | | - | |
2789 | 2817 | | |
2790 | 2818 | | |
2791 | 2819 | | |
| |||
2813 | 2841 | | |
2814 | 2842 | | |
2815 | 2843 | | |
2816 | | - | |
2817 | | - | |
2818 | 2844 | | |
2819 | 2845 | | |
2820 | 2846 | | |
| |||
2946 | 2972 | | |
2947 | 2973 | | |
2948 | 2974 | | |
| 2975 | + | |
| 2976 | + | |
| 2977 | + | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
| 2987 | + | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
2949 | 2994 | | |
2950 | 2995 | | |
2951 | 2996 | | |
| |||
0 commit comments