Beispiel #1
0
 public async Task AddWordToBlackListAsync(string add, [Remainder] string word)
 {
     if (add.Contains("add"))
     {
         AntiSpamService.AddWord(word);
         await ReplyAsync($"Added `{word}` to the blacklist.");
     }
     else
     {
         return;
     }
 }