public async Task RbpAddRole(IRole role) { var result = RoleByPhraseProvider.AddRole(Context.Guild, role); if (result == RoleByPhraseProvider.RoleByPhraseOperationResult.Success) { await RbpStatus(); } else { await ReplyAsync("Well, this was a total waste of time, something went wrong..."); Console.WriteLine(result.ToString()); } }
public async Task RbpAddRole(IRole role) { var result = RoleByPhraseProvider.AddRole(Context.Guild, role); if (result == RoleByPhraseProvider.RoleByPhraseOperationResult.Success) { await RbpStatus(); } else { await ReplyAsync("Łups... coś zyebauem... xd"); Console.WriteLine(result.ToString()); } }