Re-added model functions, and added legacy extensions

This commit is contained in:
RogueException
2015-12-23 02:49:07 -04:00
parent d10e771169
commit 06fae0c95a
18 changed files with 1884 additions and 1625 deletions

View File

@@ -3,6 +3,6 @@
public static class CommandExtensions
{
public static CommandService Commands(this DiscordClient client, bool required = true)
=> client.GetService<CommandService>(required);
=> client.Services.Get<CommandService>(required);
}
}