@@ -1654,7 +1654,6 @@ async def edit(
1654
1654
default_notifications : NotificationLevel = MISSING ,
1655
1655
verification_level : VerificationLevel = MISSING ,
1656
1656
explicit_content_filter : ContentFilter = MISSING ,
1657
- vanity_code : str = MISSING ,
1658
1657
system_channel : TextChannel | None = MISSING ,
1659
1658
system_channel_flags : SystemChannelFlags = MISSING ,
1660
1659
preferred_locale : str = MISSING ,
@@ -1720,8 +1719,6 @@ async def edit(
1720
1719
The new default notification level for the guild.
1721
1720
explicit_content_filter: :class:`ContentFilter`
1722
1721
The new explicit content filter for the guild.
1723
- vanity_code: :class:`str`
1724
- The new vanity code for the guild.
1725
1722
system_channel: Optional[:class:`TextChannel`]
1726
1723
The new channel that is used for the system channel. Could be ``None`` for no system channel.
1727
1724
system_channel_flags: :class:`SystemChannelFlags`
@@ -1764,9 +1761,6 @@ async def edit(
1764
1761
1765
1762
http = self ._state .http
1766
1763
1767
- if vanity_code is not MISSING :
1768
- await http .change_vanity_code (self .id , vanity_code , reason = reason )
1769
-
1770
1764
fields : dict [str , Any ] = {}
1771
1765
if name is not MISSING :
1772
1766
fields ["name" ] = name
0 commit comments