Browse Source

Removed LegacyExtensions.Run()

pull/101/head
RogueException 9 years ago
parent
commit
608d4a9cdd
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      src/Discord.Net/Legacy.cs

+ 0
- 5
src/Discord.Net/Legacy.cs View File

@@ -28,11 +28,6 @@ namespace Discord.Legacy
{
client.ExecuteAndWait(asyncAction);
}
[Obsolete("Use DiscordClient.Wait")]
public static void Run(this DiscordClient client)
{
client.Wait();
}

[Obsolete("Use Server.FindChannels")]
public static IEnumerable<Channel> FindChannels(this DiscordClient client, Server server, string name, ChannelType type = null, bool exactMatch = false)


Loading…
Cancel
Save