Browse Source

Removed old GetBucketId function

tags/1.0-rc
RogueException 8 years ago
parent
commit
7773e1d1cb
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      src/Discord.Net.Core/API/DiscordRestApiClient.cs

+ 0
- 13
src/Discord.Net.Core/API/DiscordRestApiClient.cs View File

@@ -1059,19 +1059,6 @@ namespace Discord.API
using (JsonReader reader = new JsonTextReader(text))
return _serializer.Deserialize<T>(reader);
}
internal string GetBucketId(ulong guildId = 0, ulong channelId = 0, [CallerMemberName] string methodName = "")
{
if (guildId != 0)
{
if (channelId != 0)
return $"{methodName}({guildId}/{channelId})";
else
return $"{methodName}({guildId})";
}
else if (channelId != 0)
return $"{methodName}({channelId})";
return $"{methodName}()";
}

internal class BucketIds
{


Loading…
Cancel
Save