コード例 #1
0
 public Play(AudioService service, RandomGenService random)
 {
     _service = service;
     _random  = random;
 }
コード例 #2
0
 // Remember to add an instance of the AudioService
 // to your IServiceCollection when you initialize your bot
 public AudioModule(AudioService service, RandomGenService random)
 {
     _service = service;
     _random  = random;
 }