diff --git a/disco/types/guild.py b/disco/types/guild.py index 0b652fa..468acbc 100644 --- a/disco/types/guild.py +++ b/disco/types/guild.py @@ -169,6 +169,12 @@ class GuildMember(SlottedModel): """ self.guild.create_ban(self, delete_message_days) + def unban(self): + """ + Unbans the member from the guild. + """ + self.guild.delete_ban(self) + def set_nickname(self, nickname=None): """ Sets the member's nickname (or clears it if None).