Esempio n. 1
0
 public async Task Add(SocketUser user, bool bypass = false)
 {
     if (started.Subtract(DateTime.Now).TotalMinutes < 1 || bypass)
     {
         await Console.UpdateObservers($"{user.Username} was added to tvroom as Allowed during allowed time");
         await AddAllowed(user);
     }
     if (!_Allowed.Contains(user) && !_Admins.Contains(user))
     {
         await Console.UpdateObservers($"{user.Username} was added to tvroom as Guest");
         await AddGuest(user);
     }
 }
Esempio n. 2
0
 public async Task UpdateConsole(string message)
 {
     await console.UpdateObservers(message);
 }