public ModerationModule(LoggingService logging, PublisherService publisher, UpdateService update, UserService user,
                         DatabaseService database)
 {
     _logging   = logging;
     _publisher = publisher;
     _update    = update;
     _user      = user;
     _database  = database;
 }
Exemple #2
0
 public async Task <bool> MessageRecievedAsync(uint length, string name)
 {
     return(await UserService.MessageRecievedAsync(length, name, this));
 }
Exemple #3
0
 public async Task UpdateUserAsync()
 {
     await UserService.UpdateUserAsync(this);
 }
Exemple #4
0
 public async Task <MemoryStream> DrawRankImageAsync(uint rank, string avatarUrl)
 {
     return(await GraphicsHelper.DrawRankImageAsync(Level, Name, rank, ProfileTheme, UserService.CalculateExpBar(Level, Exp), avatarUrl));
 }