Esempio n. 1
0
 public async Task OptionResponseAsync
 (
     [Name("context"), Summary("The option to view context for.")] AccountOption option
 )
 {
     await ModuleManager.TryExecute(Context.Channel, OptionsService.ReadOptionAsync(Context, option));
 }
Esempio n. 2
0
 public async Task SetOptionAsync
 (
     [Name("context"), Summary("The option to view context for.")] AccountOption option,
     [Name("value"), Summary("The new value to be set in place of the option.")] object value = null
 )
 {
     await ModuleManager.TryExecute(Context.Channel, OptionsService.SetOptionAsync(Context, option, value));
 }
Esempio n. 3
0
 public async Task OptionsResponseAsync()
 {
     await ModuleManager.TryExecute(Context.Channel, OptionsService.ReadOptionsAsync(Context));
 }