Esempio n. 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.MentionRole(role, Context.Channel, message);
Esempio n. 2
0
 public async Task MakeAnnouncementAsync([Summary("The role to mention")] IRole role,
                                         [Summary("The message to send as part of the announcement.")][Remainder]
                                         string message) =>
 await _mentionService.MentionRole(role, Context.Channel, message);