public async Task ShowProfileAsync(MiunieUser user = null) { if (user is null) { user = _entityConvertor.ConvertUser(Context.User as SocketGuildUser); } var channel = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _profileService.ShowProfileAsync(user, channel); }
public async Task ShowProfileAsync(CommandContext ctx, MiunieUser m = null) { if (m is null) { m = _entityConvertor.ConvertUser(ctx.Member); } var channel = _entityConvertor.ConvertChannel(ctx.Channel); await _profileService.ShowProfileAsync(m, channel); }
public async Task ShowRepository() { var channel = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _remoteRepoService.ShowRepositoryAsync(channel); }
public async Task ShowProfile(CommandContext ctx, MiunieUser m) { var channel = _entityConvertor.ConvertChannel(ctx.Channel); await _profileService.ShowProfile(m, channel); }
public async Task ShowRepository(CommandContext ctx) { var channel = _entityConvertor.ConvertChannel(ctx.Channel); await _remoteRepoService.ShowRepositoryAsync(channel); }
public async Task ShowCzkStatus() { var channel = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _currencyService.ShowCzkStatus(channel); }
public async Task ShowTimeForUser(MiunieUser user) { var c = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _service.OutputCurrentTimeForUserAsync(user, c); }
public async Task YesNoMaybeAsync(CommandContext ctx) { var channel = _entityConvertor.ConvertChannel(ctx.Channel); await _miscService.YesNoMaybeAnswer(channel); }
public async Task RemoveMyPersonalData() { var u = _entityConvertor.ConvertUser(Context.User as SocketGuildUser); var c = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _service.RemoveUserData(u, c); }
public async Task SendRandomYesNoMaybeAnswer() { var c = _entityConvertor.ConvertChannel(Context.Channel as SocketGuildChannel); await _service.SendRandomYesNoAnswerAsync(c); }
public async Task ShowCzkStatus(CommandContext ctx) { var channel = _entityConvertor.ConvertChannel(ctx.Channel); await _currencyService.ShowCzkStatus(channel); }
public async Task ListDirectoryAsync(CommandContext ctx) { var chan = _entityConvertor.ConvertChannel(ctx.Channel); var user = _entityConvertor.ConvertUser((DiscordMember)ctx.User); await _directoryService.ListDirectoryAsync(chan, user); }