/// <summary> /// Initializes a new instance of the <see cref="SlashService"/> class. /// </summary> /// <param name="commandTree">The command tree.</param> /// <param name="oauth2API">The OAuth2 API.</param> /// <param name="applicationAPI">The application API.</param> public SlashService ( CommandTree commandTree, IDiscordRestOAuth2API oauth2API, IDiscordRestApplicationAPI applicationAPI ) { _commandTree = commandTree; _applicationAPI = applicationAPI; _oauth2API = oauth2API; }