Re-added model functions, and added legacy extensions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user