Example #1
0
        public async Task SteamAsync([Summary("Game to search.")][Remainder] string game)
        {
            (ulong, ulong, string)result = await _service.GetAnswerAsync(game);

            if (!result.Item3.Equals("Game not found. Weird."))
            {
                // Cleanup after task is done
                //await Context.Channel.DeleteMessageAsync(result.Item1);
                //await Context.Channel.DeleteMessageAsync(result.Item2);
            }

            // Finally replys the link of the query
            await ReplyAsync(result.Item3);
        }