def guilds_delete(self, guild): r = self.http(Routes.GUILDS_DELETE, dict(guild=guild)) return Guild.create(self.client, r.json())
def guilds_get(self, guild): r = self.http(Routes.GUILDS_GET, dict(guild=guild)) return Guild.create(self.client, r.json())
def guilds_modify(self, guild, **kwargs): r = self.http(Routes.GUILDS_MODIFY, dict(guild=guild), json=kwargs) return Guild.create(self.client, r.json())
def guilds_modify(self, guild, reason=None, **kwargs): r = self.http(Routes.GUILDS_MODIFY, dict(guild=guild), json=kwargs, headers=_reason_header(reason)) return Guild.create(self.client, r.json())