public static async Task <SteamAppNewsCommand> Create(Library library, LibraryType libraryType)
        {
            var result = new SteamAppNewsCommand(library, libraryType);

            result._steamNewsClient = await SteamNewsClient.Create();

            return(result);
        }
Exemplo n.º 2
0
        public static async Task <CommandList> Create(DiscordClient discordClient, Library steamAppNewsLibrary)
        {
            BotCommand appIdCommand = new LibraryCommandStructure(steamAppNewsLibrary, LibraryType.SteamAppNews, discordClient, await SteamAppNewsCommand.Create(steamAppNewsLibrary, LibraryType.SteamAppNews));

            var result = new CommandList(appIdCommand);

            return(result);
        }