Beispiel #1
0
 public async Task DeleteSetting(string name)
 {
     if (_settings.Has(name))
     {
         _settings.Remove(name);
         await ReplyAsync("I removed the setting for you!");
     }
     else
     {
         await ReplyAsync("There is no such setting!");
     }
 }