Exemple #1
0
 public async Task DislayUserProfile(SocketGuildUser discordUser = null)
 {
     if (discordUser is null)
     {
         discordUser = Context.User as SocketGuildUser;
     }
     var disukuUser = DisukuEntityConverter.ConvertToDisukuUser(discordUser);
     await _userProfileService.ReplyUserAsync(Context.Channel.Id, disukuUser);
 }
Exemple #2
0
 public async Task ListQuotes(SocketGuildUser user)
 {
     var disukuUser = DisukuEntityConverter.ConvertToDisukuUser(user);
     await _quoteService.List(Context.Channel.Id, disukuUser);
 }