Example #1
0
        public async Task SearchRandom([Remainder] string tags)
        {
            var post = await _e621.SearchRandom(tags) ?? throw new Exception("no results");

            await ReplyAsync(string.Empty, embed : post.ToEmbed());
        }
Example #2
0
        public async Task SearchRandom([Remainder] string tags)
        {
            var post = await _e621.SearchRandom(tags);

            await ReplyAsync(post.FileUrl);
        }