Removed old bucket system, cleaned up api calls. Fixed compile errors.

This commit is contained in:
RogueException
2016-09-29 05:10:40 -03:00
parent dd86f03306
commit e038475ab4
59 changed files with 464 additions and 570 deletions

View File

@@ -21,12 +21,12 @@ namespace Discord.Rest
public string Name { get; private set; }
public int Position { get; private set; }
internal RestGuildChannel(DiscordClient discord, ulong id, ulong guildId)
internal RestGuildChannel(BaseDiscordClient discord, ulong id, ulong guildId)
: base(discord, id)
{
GuildId = guildId;
}
internal new static RestGuildChannel Create(DiscordClient discord, Model model)
internal new static RestGuildChannel Create(BaseDiscordClient discord, Model model)
{
switch (model.Type)
{