public void UpdateFromSettings(PreMadeChatCommandSettings settings)
 {
     this.IsEnabled = settings.IsEnabled;
     this.Requirements.Role.MixerRole  = settings.Permissions;
     this.Requirements.Cooldown.Amount = settings.Cooldown;
 }
Esempio n. 2
0
 public void UpdateFromSettings(PreMadeChatCommandSettings settings)
 {
     this.IsEnabled   = settings.IsEnabled;
     this.Permissions = settings.Permissions;
     this.Cooldown    = settings.Cooldown;
 }