Esempio n. 1
0
 public static void ReportUser(this DiscordClient client, DiscordReportReason reason, UserReportIdentification identification) => client.ReportUserAsync(reason, identification);
Esempio n. 2
0
 public static Task ReportUserAsync(this DiscordClient client, DiscordReportReason reason, UserReportIdentification identification)
 {
     identification.Reason = reason;
     return(client.HttpClient.PostAsync("/report", identification));
 }