public async Task RbpAddPhrase([Remainder] string phrase) { var result = RoleByPhraseProvider.AddPhrase(Context.Guild, phrase); if (result == RoleByPhraseProvider.RoleByPhraseOperationResult.Success) { await RbpStatus(); } else { await ReplyAsync("I work 24 hours a day so something went wrong..."); Console.WriteLine(result.ToString()); } }
public async Task RbpAddPhrase([Remainder] string phrase) { var result = RoleByPhraseProvider.AddPhrase(Context.Guild, phrase); if (result == RoleByPhraseProvider.RoleByPhraseOperationResult.Success) { await RbpStatus(); } else { await ReplyAsync("Pracuję 24/h... to nie mogło się udać..."); Console.WriteLine(result.ToString()); } }