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());
            }
        }
Example #2
0
        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());
            }
        }