コード例 #1
0
 public async Task MentionAsync(
     [Summary("The role that the user is attempting to mention.")]
     IRole role,
     [Summary("Message to provide to mentionees. The 'message' argument is ignored by the command.")]
     [Remainder]
     string message = null)
 => await MentionService.MentionRoleAsync(role, Context.Channel, message);
コード例 #2
0
 public async Task MentionAsync(
     [Summary("The role that the user is attempting to mention.")]
     IRole role)
 => await MentionService.MentionRoleAsync(role, Context.Channel);