示例#1
0
 public async Task Embed(string key, [Remainder] string json = "")
 {
     if (key.ToLower() == "parse")
     {
         await ReplyAsync(null, false, ResponseManager.BuildEmbed(json).Build());
     }
     else
     {
         await ReplyAsync(null, false, ResponseManager.GetEmbed(key).Build());
     }
 }