def guilds_emojis_modify(self, guild, emoji, reason=None, **kwargs): r = self.http( Routes.GUILDS_EMOJIS_MODIFY, dict(guild=guild, emoji=emoji), json=kwargs, headers=_reason_header(reason)) return GuildEmoji.create(self.client, r.json(), guild_id=guild)
def guilds_emojis_modify(self, guild, emoji, **kwargs): r = self.http(Routes.GUILDS_EMOJIS_MODIFY, dict(guild=guild, emoji=emoji), json=kwargs) return GuildEmoji.create(self.client, r.json())
def guilds_emojis_list(self, guild): r = self.http(Routes.GUILDS_EMOJIS_LIST, dict(guild=guild)) return GuildEmoji.create_map(self.client, r.json())
def guilds_emojis_create(self, guild, **kwargs): r = self.http(Routes.GUILDS_EMOJIS_CREATE, dict(guild=guild), json=kwargs) return GuildEmoji.create(self.client, r.json())