add guild emoji methods (#742)

* add guild emoji methods

* run docs

* crawl pointed out some things about the docs, so i fixed

* actually run the docs on the changes 🤦
This commit is contained in:
Gus Caplan
2016-09-26 15:39:07 -05:00
committed by Amish Shah
parent b4f3575335
commit c8761d72de
4 changed files with 56 additions and 1 deletions

View File

@@ -108,6 +108,7 @@ const Endpoints = exports.Endpoints = {
guildMember: (guildID, memberID) => `${Endpoints.guildMembers(guildID)}/${memberID}`,
stupidInconsistentGuildEndpoint: (guildID) => `${Endpoints.guildMember(guildID, '@me')}/nick`,
guildChannels: (guildID) => `${Endpoints.guild(guildID)}/channels`,
guildEmojis: (guildID) => `${Endpoints.guild(guildID)}/emojis`,
// channels
channels: `${API}/channels`,