예제 #1
0
        public async Task Permission(string command, string subCmd, [Remainder] string[] roles)
        {
            switch (subCmd)
            {
            case "add":
                await perm.AddPerm(command, roles, Context.Channel, Context.Guild);

                break;

            default:
                await perm.RemovePerm(command, roles, Context.Channel, Context.Guild);

                break;
            }
        }