public async Task RbpAddRelation(int phraseIndex, int roleIndex) { var result = RoleByPhraseProvider.CreateRelation(Context.Guild, phraseIndex, roleIndex); if (result == RoleByPhraseProvider.RelationCreationResult.Success) { await RbpStatus(); } else { await ReplyAsync("That's just what I need, great! Terrific!, something went wrong..."); Console.WriteLine(result.ToString()); } }
public async Task RbpAddRelation(int phraseIndex, int roleIndex) { var result = RoleByPhraseProvider.CreateRelation(Context.Guild, phraseIndex, roleIndex); if (result == RoleByPhraseProvider.RelationCreationResult.Success) { await RbpStatus(); } else { await ReplyAsync("Aha... więc nooo ten... nie działa."); Console.WriteLine(result.ToString()); } }